journald: make sure r is always initialized
This commit is contained in:
parent
3741b696f4
commit
09eba4d46b
|
@ -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) &&
|
||||
|
|
Loading…
Reference in a new issue