summaryrefslogtreecommitdiff
path: root/xdiff/xutils.c
diff options
context:
space:
mode:
authorGuido Ostkamp <git@ostkamp.fastmail.fm>2007-11-15 22:19:11 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-11-16 05:23:47 (GMT)
commita777e9ca54b5801266486a16dc0d25c82b38014d (patch)
treea3d09fd2b22ab8d905e7ff8f7adbe5d54ed54e08 /xdiff/xutils.c
parent549799b4a1741fe765fff2c91808b4524ea2d7fb (diff)
downloadgit-a777e9ca54b5801266486a16dc0d25c82b38014d.zip
git-a777e9ca54b5801266486a16dc0d25c82b38014d.tar.gz
git-a777e9ca54b5801266486a16dc0d25c82b38014d.tar.bz2
Remove unreachable statements
Solaris Workshop Compiler found a few unreachable statements. Signed-off-by: Guido Ostkamp <git@ostkamp.fastmail.fm> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'xdiff/xutils.c')
-rw-r--r--xdiff/xutils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xdiff/xutils.c b/xdiff/xutils.c
index 2ade97b..d7974d1 100644
--- a/xdiff/xutils.c
+++ b/xdiff/xutils.c
@@ -232,8 +232,6 @@ int xdl_recmatch(const char *l1, long s1, const char *l2, long s2, long flags)
return i1 >= s1 && i2 >= s2;
} else
return s1 == s2 && !memcmp(l1, l2, s1);
-
- return 0;
}
static unsigned long xdl_hash_record_with_whitespace(char const **data,