From 23fdbb0c8cd8f875e678c17ef79919a22d704c7a Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 9 Dec 2015 23:56:42 +0100 Subject: [PATCH] fix warning + minor style --- urmoms.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/urmoms.c b/urmoms.c index fd1b0e7..71ce3a0 100644 --- 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; } -- libgit2 1.1.1