fix warning + minor style - 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 23fdbb0c8cd8f875e678c17ef79919a22d704c7a | |
parent 27397b310d2aea881f5064103bb449464329b00c | |
Author: Hiltjo Posthuma | |
Date: Wed, 9 Dec 2015 23:56:42 +0100 fix warning + minor style Diffstat: M urmoms.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- | |
diff --git a/urmoms.c b/urmoms.c | |
@@ -533,7 +533,6 @@ writeblob(const char *path) { char htmlpath[PATH_MAX]; char refpath[PATH_MAX]; - char *relp; git_object *obj = NULL; FILE *fp; @@ -557,7 +556,9 @@ writeblob(const char *path) fputs("\n", fp); writefooter(fp); fclose(fp); + relpath = ""; + return 0; } |