diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-31 03:55:35 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-31 03:55:35 +0100 |
commit | 6c8a39b883d77a1e04f2947a2e890dfb8dd51d04 (patch) | |
tree | f8754c1de73bbebc29ebae73a766ee40e1b4a68d /src | |
parent | c0f99c21f4d5ccbdedf5f648258ae3483566c847 (diff) |
journal: silence gcc warnings
Diffstat (limited to 'src')
-rw-r--r-- | src/journal/journal-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c index fd2e9ebbbc..45aab0e54a 100644 --- a/src/journal/journal-file.c +++ b/src/journal/journal-file.c @@ -283,7 +283,7 @@ static int journal_file_map( } static int journal_file_move_to(JournalFile *f, int wt, uint64_t offset, uint64_t size, void **ret) { - void *p; + void *p = NULL; uint64_t delta; int r; Window *w; @@ -1036,7 +1036,7 @@ static int generic_array_get(JournalFile *f, Object **ret, uint64_t *offset) { Object *o; - uint64_t p, a; + uint64_t p = 0, a; int r; assert(f); |