stagit

writelog: remove return value, it was unused

Hiltjo Posthuma contact@arjunchoudhary.com

commit: 86a84f6 parent: 978d629
1 files changed, 1 insertions(+), 4 deletions(-)
Murmoms.c+1-4
M · urmoms.c +1, -4
 1@@ -409,14 +409,13 @@ printshowfile(struct commitinfo *ci)
 2 	return;
 3 }
 4 
 5-int
 6+void
 7 writelog(FILE *fp)
 8 {
 9 	struct commitinfo *ci;
10 	git_revwalk *w = NULL;
11 	git_oid id;
12 	size_t len;
13-	int ret = 0;
14 
15 	mkdir("commit", 0755);
16 
17@@ -469,8 +468,6 @@ writelog(FILE *fp)
18 
19 	git_revwalk_free(w);
20 	relpath = "";
21-
22-	return ret;
23 }
24 
25 void