Commit e65e3e2fec796e425b0156322a8f6d06370b8e38

Stefan Sperling 2018-09-20T10:51:38

remove useless code in #if 0

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/lib/commit_graph.c b/lib/commit_graph.c
index 036dcb7..21160d6 100644
--- a/lib/commit_graph.c
+++ b/lib/commit_graph.c
@@ -302,9 +302,6 @@ advance_branch(struct got_commit_graph *graph,
 	if (is_merge_point(node) && !got_path_is_root_dir(graph->path)) {
 		struct got_object_id *id, *merged_id, *prev_id = NULL;
 		int branches_differ = 0;
-		#if 0
-		int n = 1;
-		#endif
 
 		err = got_object_id_by_path(&merged_id, repo, commit_id,
 		    graph->path);