writelog: remove return value, it was unused - stagit-gopher - A git gopher frontend. (mirror) HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 372fe8d86e621b09dadb893b2153f643a70cab7f DIR parent e01336e656582ed0a235b30b549dd8f5e69e860b HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org> Date: Sun, 20 Dec 2015 17:11:06 +0100 writelog: remove return value, it was unused Diffstat: M urmoms.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) --- DIR 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