Commit 416a95c52d660bbf0df764cff332dc6a5b39b6f0

Stefan Sperling 2019-01-24T22:41:28

remove unused field from struct tog_tree_view_state

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tog/tog.c b/tog/tog.c
index 41a2824..12abbe9 100644
--- a/tog/tog.c
+++ b/tog/tog.c
@@ -210,7 +210,7 @@ struct tog_tree_view_state {
 	struct got_tree_entry *first_displayed_entry;
 	struct got_tree_entry *last_displayed_entry;
 	struct got_tree_entry *selected_entry;
-	int nentries, ndisplayed, selected, show_ids;
+	int ndisplayed, selected, show_ids;
 	struct tog_parent_trees parents;
 	struct got_object_id *commit_id;
 	struct got_repository *repo;