Various cleanup
[blerg.git] / tools / blerglatest.c
index 94c1679..ba12eae 100644 (file)
@@ -81,7 +81,6 @@ struct things * latest_things(const char *path, const char *file, int minlen) {
        struct things * things = things_alloc();
        char filename[512];
        struct stat st;
-       int i;
 
        d = opendir(path);
        if (d == NULL) {
@@ -169,4 +168,6 @@ int main(int argc, char *argv[]) {
        fwrite(buf, len, 1, stdout);
 
        yajl_gen_free(g);
+
+       return 0;
 }