From a1c6d2abb640e76928b656a2c7cea8b442a63dcd Mon Sep 17 00:00:00 2001 From: root Date: Tue, 24 May 2005 11:30:25 +0200 Subject: [PATCH] [PATCH][Bug 158603] local variable used before set . --- libmultipath/pgpolicies.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmultipath/pgpolicies.c b/libmultipath/pgpolicies.c index 10e4515..1643e38 100644 --- a/libmultipath/pgpolicies.c +++ b/libmultipath/pgpolicies.c @@ -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) -- 2.7.4