journald: make sure r is always initialized

This commit is contained in:
Lennart Poettering
2015-10-19 23:07:18 +02:00
parent 3741b696f4
commit 09eba4d46b
+1 -1
View File
@@ -930,7 +930,7 @@ finish:
static int system_journal_open(Server *s, bool flush_requested) {
const char *fn;
int r;
int r = 0;
if (!s->system_journal &&
(s->storage == STORAGE_PERSISTENT || s->storage == STORAGE_AUTO) &&