fix warning + minor style
authorHiltjo Posthuma <hiltjo@codemadness.org>
Wed, 9 Dec 2015 22:56:42 +0000 (23:56 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Wed, 9 Dec 2015 22:56:42 +0000 (23:56 +0100)
urmoms.c

index fd1b0e7b464fb804158a24e6e8976d740f60f044..71ce3a0fbeb59e30bde881dd9dbfd10e276f1426 100644 (file)
--- 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;
 }