]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - policy.c
mdadm.h: Introduced unaligned {get,put}_unaligned{16,32}()
[thirdparty/mdadm.git] / policy.c
index e3a0671f3a3a05501d24162bf743ee714e4f2ac8..3c53bd35e0b19a693ff84b81a927f27c3084048d 100644 (file)
--- a/policy.c
+++ b/policy.c
@@ -268,7 +268,7 @@ static int pol_match(struct rule *rule, char **paths, char *type, char **part)
 
        for (; rule; rule = rule->next) {
                if (rule->name == rule_path) {
-                       char *p;
+                       char *p = NULL;
                        int i;
                        if (pathok == 0)
                                pathok = -1;