ctucx.git: stagit

ctucx' stagit fork

commit 372fe8d86e621b09dadb893b2153f643a70cab7f
parent e01336e656582ed0a235b30b549dd8f5e69e860b
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 20 Dec 2015 17:11:06 +0100

writelog: remove return value, it was unused
1 file changed, 1 insertion(+), 4 deletions(-)
M
urmoms.c
|
5
+----
diff --git a/urmoms.c b/urmoms.c
@@ -409,14 +409,13 @@ printshowfile(struct commitinfo *ci)
 	return;
 }
 
-int
+void
 writelog(FILE *fp)
 {
 	struct commitinfo *ci;
 	git_revwalk *w = NULL;
 	git_oid id;
 	size_t len;
-	int ret = 0;
 
 	mkdir("commit", 0755);
 

@@ -469,8 +468,6 @@ writelog(FILE *fp)
 
 	git_revwalk_free(w);
 	relpath = "";
-
-	return ret;
 }
 
 void