chiark / gitweb /
make gcc shut up
[elogind.git] / src / journal / sd-journal.c
index 6abbacf004f0b58a52065705c25e53acd001003f..fa2009c5dc5c256e161988664ef27f7f962d0865 100644 (file)
@@ -1281,7 +1281,7 @@ static bool file_type_wanted(int flags, const char *filename) {
 }
 
 static int add_any_file(sd_journal *j, const char *path) {
-        JournalFile *f;
+        JournalFile *f = NULL;
         int r;
 
         assert(j);