summaryrefslogtreecommitdiff
path: root/src/tsort.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-04-05 22:23:54 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2020-11-27 11:09:21 +0000
commit63baed3762b017e26152eaac38d74f12c9e49cff (patch)
tree01c8263eab619841704d536276e60e378931d475 /src/tsort.c
parent8613133b1f6bcbfef8b469ed2235fa9dc84a8412 (diff)
downloadlibgit2-63baed3762b017e26152eaac38d74f12c9e49cff.tar.gz
tsort: remove assertion
Diffstat (limited to 'src/tsort.c')
-rw-r--r--src/tsort.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tsort.c b/src/tsort.c
index 8d1ed9787..045efad23 100644
--- a/src/tsort.c
+++ b/src/tsort.c
@@ -29,8 +29,6 @@ static int binsearch(
int l, c, r;
void *lx, *cx;
- assert(size > 0);
-
l = 0;
r = (int)size - 1;
c = r >> 1;