Commit 858209c5 authored by Lennart Poettering's avatar Lennart Poettering

readahead: properly initialize variable

parent 1a34d367
...@@ -200,7 +200,7 @@ static int qsort_compare(const void *a, const void *b) { ...@@ -200,7 +200,7 @@ static int qsort_compare(const void *a, const void *b) {
static int collect(const char *root) { static int collect(const char *root) {
enum { enum {
FD_FANOTIFY, /* Get the actualy fs events */ FD_FANOTIFY, /* Get the actual fs events */
FD_SIGNAL, FD_SIGNAL,
FD_INOTIFY, /* We get notifications to quit early via this fd */ FD_INOTIFY, /* We get notifications to quit early via this fd */
_FD_MAX _FD_MAX
......
...@@ -114,7 +114,7 @@ finish: ...@@ -114,7 +114,7 @@ finish:
} }
static int replay(const char *root) { static int replay(const char *root) {
FILE *pack; FILE *pack = NULL;
char line[LINE_MAX]; char line[LINE_MAX];
int r = 0; int r = 0;
char *pack_fn = NULL, c; char *pack_fn = NULL, c;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment