X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=sha1-lookup.c;fp=sha1-lookup.c;h=5f069214d9060da8ceb001e6c037607c1d0096bf;hb=0eb0fb889e2e7e063e7dd8cbee38af106aa195f6;hp=2dd851598a9d1444fe479d149ee3c2cb93e8cba9;hpb=38d905bf585999367a24fa27645ece6fe996d6f0;p=thirdparty%2Fgit.git diff --git a/sha1-lookup.c b/sha1-lookup.c index 2dd851598a..5f069214d9 100644 --- a/sha1-lookup.c +++ b/sha1-lookup.c @@ -84,8 +84,6 @@ int sha1_pos(const unsigned char *sha1, void *table, size_t nr, die("BUG: assertion failed in binary search"); } } - if (18 <= ofs) - die("cannot happen -- lo and hi are identical"); } do {