projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0f99c2
)
journal: silence gcc warnings
author
Kay Sievers
<kay.sievers@vrfy.org>
Sat, 31 Dec 2011 02:55:35 +0000
(
03:55
+0100)
committer
Kay Sievers
<kay.sievers@vrfy.org>
Sat, 31 Dec 2011 02:55:35 +0000
(
03:55
+0100)
src/journal/journal-file.c
patch
|
blob
|
history
diff --git
a/src/journal/journal-file.c
b/src/journal/journal-file.c
index
fd2e9eb
..
45aab0e
100644
(file)
--- 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);