author | Benjamin Kramer <benny.kra@googlemail.com> | |
Sun, 15 Mar 2009 21:01:20 +0000 (22:01 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 16 Mar 2009 01:25:24 +0000 (18:25 -0700) | ||
commit | 8e24cbaeafc7eed709e251fda1673ffea84edfb1 | |
tree | b555dc4e224e336abac4469f80fce106ae898c29 | tree | snapshot |
parent | de7697808fd8b552479a60fa3b98440d541b42de | commit | diff |
Fix various dead stores found by the clang static analyzer
http-push.c::finish_request():
request is initialized by the for loop
index-pack.c::free_base_data():
b is initialized by the for loop
merge-recursive.c::process_renames():
move compare to narrower scope, and remove unused assignments to it
remove unused variable renames2
xdiff/xdiffi.c::xdl_recs_cmp():
remove unused variable ec
xdiff/xemit.c::xdl_emit_diff():
xche is always overwritten
Signed-off-by: Benjamin Kramer <benny.kra@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-push.c::finish_request():
request is initialized by the for loop
index-pack.c::free_base_data():
b is initialized by the for loop
merge-recursive.c::process_renames():
move compare to narrower scope, and remove unused assignments to it
remove unused variable renames2
xdiff/xdiffi.c::xdl_recs_cmp():
remove unused variable ec
xdiff/xemit.c::xdl_emit_diff():
xche is always overwritten
Signed-off-by: Benjamin Kramer <benny.kra@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
http-push.c | diff | blob | history | |
index-pack.c | diff | blob | history | |
merge-recursive.c | diff | blob | history | |
xdiff/xdiffi.c | diff | blob | history | |
xdiff/xemit.c | diff | blob | history |