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

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

 



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


[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux