]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mapfile.c
Various compile fixes.
[thirdparty/mdadm.git] / mapfile.c
index 1cc61d1b82aa702437768fbdfaa2dbb0b6028452..ff1e97360dc20cf06e586567e22d58e1c982da97 100644 (file)
--- a/mapfile.c
+++ b/mapfile.c
@@ -380,7 +380,7 @@ void RebuildMap(void)
                        int dfd;
                        int ok;
                        struct supertype *st;
-                       char *subarray;
+                       char *subarray = NULL;
                        char *path;
                        struct mdinfo *info;