summaryrefslogtreecommitdiff
path: root/src/journal/journal-file.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-13 13:58:50 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-13 13:58:50 +0200
commit7ea07dcddafe573c699fc48171b57b912897e7e2 (patch)
tree35f8fb250e06a24b2c55b42359b001bd8a2ee9d9 /src/journal/journal-file.c
parent64695e53a0f425b831ba90d467f0e7a668c1b33c (diff)
fix a couple of things found with the llvm static analyzer
Diffstat (limited to 'src/journal/journal-file.c')
-rw-r--r--src/journal/journal-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index 973c51f802..a60a896c2f 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -1977,7 +1977,7 @@ int journal_directory_vacuum(const char *directory, uint64_t max_use, uint64_t m
size_t q;
struct stat st;
char *p;
- unsigned long long seqnum, realtime;
+ unsigned long long seqnum = 0, realtime;
sd_id128_t seqnum_id;
bool have_seqnum;