journald: make sure r is always initialized

This commit is contained in:
Lennart Poettering 2015-10-14 19:33:20 +02:00
parent 3741b696f4
commit 09eba4d46b

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) &&