chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
readahead: properly initialize variable
[elogind.git]
/
src
/
readahead-replay.c
diff --git
a/src/readahead-replay.c
b/src/readahead-replay.c
index 32941c144d5553dddcda4ca6dc7e88f04caf50b0..f0710e5ddf7ef1cb7d1cac95b5dcef88179c4940 100644
(file)
--- a/
src/readahead-replay.c
+++ b/
src/readahead-replay.c
@@
-114,7
+114,7
@@
finish:
}
static int replay(const char *root) {
- FILE *pack;
+ FILE *pack
= NULL
;
char line[LINE_MAX];
int r = 0;
char *pack_fn = NULL, c;