stagit

static git page generator (mirror)
git clone git://git.2f30.org/stagit
Log | Files | Refs | README | LICENSE

commit 23fdbb0c8cd8f875e678c17ef79919a22d704c7a
parent 27397b310d2aea881f5064103bb449464329b00c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed,  9 Dec 2015 23:56:42 +0100

fix warning + minor style

Diffstat:
Murmoms.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("</pre>\n", fp); writefooter(fp); fclose(fp); + relpath = ""; + return 0; }