[PATCH 5/8] mach-defpager: fix warning about uninitialized variable

2014-03-12 Thread Justus Winter
Previously, failure to look up the given partition was detected after the loop by checking whether the loop ran over all existing partitions. Initialize part to NULL and check for that instead. This retains the behavior, but expresses it in a way the compiler understands better. *

Re: [PATCH 5/8] mach-defpager: fix warning about uninitialized variable

2014-03-12 Thread Samuel Thibault
Justus Winter, le Wed 12 Mar 2014 15:55:51 +0100, a écrit : Previously, failure to look up the given partition was detected after the loop by checking whether the loop ran over all existing partitions. Initialize part to NULL and check for that instead. This retains the behavior, but