Commit 63baed3762b017e26152eaac38d74f12c9e49cff

Edward Thomson 2020-04-05T22:23:54

tsort: remove assertion

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/tsort.c b/src/tsort.c
index 8d1ed97..045efad 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;