summaryrefslogtreecommitdiff
path: root/usage.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2011-05-26 13:58:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-05-26 18:24:24 (GMT)
commit5dd564895e84eacfc728183fb5a9215665ff59a3 (patch)
tree8909749079c959c79a054a2d9c3e8368924158a6 /usage.c
parent5743350f696745a48dfe7976c98dc8eb5c842d72 (diff)
downloadgit-5dd564895e84eacfc728183fb5a9215665ff59a3.zip
git-5dd564895e84eacfc728183fb5a9215665ff59a3.tar.gz
git-5dd564895e84eacfc728183fb5a9215665ff59a3.tar.bz2
remove tests of always-false condition
* fsck.c (fsck_error_function): Don't test obj->sha1 == 0. It can never be true, since that sha1 member is an array. * transport.c (set_upstreams): Likewise for ref->new_sha1. Signed-off-by: Jim Meyering <meyering@redhat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'usage.c')
0 files changed, 0 insertions, 0 deletions