diff options
author | Luca Berra <bluca@comedia.it> | 2011-06-17 14:35:06 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-06-17 14:35:06 +1000 |
commit | e4c72d1dc69e576ca97163a3d4f44394e9bdd3ed (patch) | |
tree | b26effb2332d116027b31ef48cb81759a1336c69 /Incremental.c | |
parent | 9e2d750d4c3a293db18115e255cc029d542f2528 (diff) |
Fix some compiler warnings.
Original by Luca, with various changes by Neil
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'Incremental.c')
-rw-r--r-- | Incremental.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Incremental.c b/Incremental.c index aa98d06b..951c2a07 100644 --- a/Incremental.c +++ b/Incremental.c @@ -705,7 +705,7 @@ static int count_active(struct supertype *st, struct mdinfo *sra, int cnt = 0; __u64 max_events = 0; char *avail = NULL; - int *best; + int *best = NULL; char *devmap = NULL; int numdevs = 0; int devnum; |