]> git.armaanb.net Git - stagit.git/commitdiff
writelog: remove return value, it was unused
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 20 Dec 2015 16:11:06 +0000 (17:11 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 20 Dec 2015 16:11:06 +0000 (17:11 +0100)
urmoms.c

index f03a3e08e89abb39d7206e29d2b1ca1f25b58601..6a81e933c93ae7fe59394d6d177ffa610e7b074e 100644 (file)
--- 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