The warning is spurious, but will break compilation with -O2. Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- super-ddf.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/super-ddf.c b/super-ddf.c index e3b3dca..95972ad 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -4779,7 +4779,7 @@ static struct mdinfo *ddf_activate_spare(struct active_array *a, struct ddf_super *ddf = a->container->sb; int global_ok = 0; struct mdinfo *rv = NULL; - struct mdinfo *di; + struct mdinfo *di = NULL; struct metadata_update *mu; struct dl *dl; int i; -- 1.7.3.4 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html