From 372fe8d86e621b09dadb893b2153f643a70cab7f Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 20 Dec 2015 17:11:06 +0100 Subject: [PATCH] writelog: remove return value, it was unused --- urmoms.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/urmoms.c b/urmoms.c index f03a3e0..6a81e93 100644 --- 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 -- libgit2 1.1.1