diff options
author | Stefan Beller <stefanbeller@googlemail.com> | 2013-07-18 23:35:27 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-07-19 11:15:17 -0700 |
commit | 1f976bd03f26b70dfbb26b3f9478df09709db966 (patch) | |
tree | 06c48ba55592b29a15b0a265ac08dfdefacbd25d /t/t7503-pre-commit-hook.sh | |
parent | http-push.c::add_send_request(): do not initialize transfer_request (diff) | |
download | tgif-1f976bd03f26b70dfbb26b3f9478df09709db966.tar.xz |
apply.c::find_name_traditional(): do not initialize len to the line's length
The variable len is set to
len = strchrnul(line, '\n') - line;
unconditionally 9 lines later, hence we can remove the call to strlen.
Signed-off-by: Stefan Beller <stefanbeller@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7503-pre-commit-hook.sh')
0 files changed, 0 insertions, 0 deletions