inetmib1: Avoid idempotent operation in findSupportedQuery function (Clang)
Octavian Voicu
octavian.voicu at gmail.com
Sat Oct 8 19:03:22 CDT 2011
2011/10/2 Frédéric Delanoy <frederic.delanoy at gmail.com>
> - for (i = (indexLow + indexHigh) / 2; !impl && indexLow <= indexHigh;
> - i = (indexLow + indexHigh) / 2)
> + for (i = indexHigh / 2; !impl && indexLow <= indexHigh; i = (indexLow + indexHigh) / 2)
How about following code:
while (!impl && indexLow <= indexHigh)
{
/* ... */
i = (indexLow + indexHigh) / 2;
/* ... */
}
Octavian
More information about the wine-devel
mailing list