[PATCH][Bug 158603] local variable used before set
authorroot <root@xa-s05.(none)>
Tue, 24 May 2005 09:30:25 +0000 (11:30 +0200)
committerroot <root@xa-s05.(none)>
Tue, 24 May 2005 09:30:25 +0000 (11:30 +0200)
.

libmultipath/pgpolicies.c

index 10e4515..1643e38 100644 (file)
@@ -243,7 +243,7 @@ one_group (struct multipath * mp)   /* aka multibus */
 {
        struct pathgroup * pgp;
 
-       if (VECTOR_SIZE(pgp->paths) < 0)
+       if (VECTOR_SIZE(mp->paths) < 0)
                return 0;
 
        if (!mp->pg)