diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-14 19:33:20 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-19 23:07:18 +0200 |
commit | 09eba4d46b1119c758fba38a520a38c8d19af739 (patch) | |
tree | adfd20e2c62b620142d51972873dd214bdaf2740 | |
parent | 3741b696f41ef8ecd646b0dc77ef3a29b6741a51 (diff) |
journald: make sure r is always initialized
-rw-r--r-- | src/journal/journald-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index 62a5a2ad40..140d40667e 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -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) && |