Commit fdb730fe0daaa68f7fb46f49dd64ed01529effc6

Stefan Sperling 2019-02-06T00:53:28

remove an '#if 0' which was not intended for commit

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/lib/fileindex.c b/lib/fileindex.c
index b5a1c93..0f460ce 100644
--- a/lib/fileindex.c
+++ b/lib/fileindex.c
@@ -723,10 +723,8 @@ walk_dir(struct got_pathlist_entry **next, struct got_fileindex *fileindex,
 
 		subdir = opendir(subdirpath);
 		if (subdir == NULL) {
-			#if 0
 			free(subpath);
 			free(subdirpath);
-			#endif
 			return got_error_from_errno();
 		}