Commit 02f14ae5fdf0a5eaee0010505229055daa450fb5

Stefan Sperling 2017-12-01T20:04:15

remove unused function

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/lib/object.c b/lib/object.c
index a000e96..cccf552 100644
--- a/lib/object.c
+++ b/lib/object.c
@@ -414,15 +414,6 @@ tree_entry_close(struct got_tree_entry *te)
 	free(te);
 }
 
-static const char *
-mode_trailer(mode_t mode)
-{
-	if (S_ISDIR(mode))
-		return "/";
-
-	return "";
-}
-
 static const struct got_error *
 parse_tree_entry(struct got_tree_entry **te, size_t *elen, char *buf,
     size_t maxlen)