Commit ec5f13cc0cc239181848d0c76df46dbd5a1f258b

Stefan Sperling 2018-06-23T23:31:01

unbreak tog build...

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/tog/tog.c b/tog/tog.c
index 5ca0f88..490cb45 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -1221,7 +1221,6 @@ draw_tree_entries(struct got_tree_entry **first_displayed_entry,
 
 	te = SIMPLEQ_FIRST(&entries->head);
 	if (*first_displayed_entry == NULL) {
-		assert(!isroot);
 		if (selected == 0) {
 			wstandout(window);
 			*selected_entry = NULL;