writelog: remove return value, it was unused - stagit-gopher - A git gopher frontend. (mirror) | |
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/ | |
Log | |
Files | |
Refs | |
Tags | |
README | |
LICENSE | |
--- | |
commit 372fe8d86e621b09dadb893b2153f643a70cab7f | |
parent e01336e656582ed0a235b30b549dd8f5e69e860b | |
Author: Hiltjo Posthuma | |
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(-) --- | |
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 |