[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[dm-devel] [Bug 158603][PATCH] New: local variable used before set



Quite broken logic, true ...

===== cut here =====
--- 434d2afe39c8a54a5788f312dd2a6653f7c2560a/libmultipath/pgpolicies.c  (mode:100644)
+++ uncommitted/libmultipath/pgpolicies.c  (mode:100644)
@@ -243,7 +243,7 @@
 {
        struct pathgroup * pgp;

-       if (VECTOR_SIZE(pgp->paths) < 0)
+       if (VECTOR_SIZE(mp->paths) < 0)
                return 0;

        if (!mp->pg)
=====
Regards,
cvaroqui


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]