From: Hiltjo Posthuma Date: Sun, 20 Dec 2015 16:11:06 +0000 (+0100) Subject: writelog: remove return value, it was unused X-Git-Url: https://git.atheridis.org/?a=commitdiff_plain;h=372fe8d86e621b09dadb893b2153f643a70cab7f;p=forks%2Fstagit.git writelog: remove return value, it was unused --- 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