summaryrefslogtreecommitdiff
path: root/src/readahead-replay.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-09-27 03:24:39 +0200
committerLennart Poettering <lennart@poettering.net>2010-09-27 03:25:10 +0200
commit858209c51f3c5eadd5489edc3154d84f24e1f00a (patch)
tree599506ad659c9085c16df5a9ff18f58cc4a57be0 /src/readahead-replay.c
parent1a34d367d1afe57386779ca46b18933ab7c189cf (diff)
readahead: properly initialize variable
Diffstat (limited to 'src/readahead-replay.c')
-rw-r--r--src/readahead-replay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readahead-replay.c b/src/readahead-replay.c
index 32941c144d..f0710e5ddf 100644
--- 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;