inetmib1: Remove idempotent operation (clang)

André Hentschel nerv at dawncrow.de
Sat Sep 24 10:56:51 CDT 2011


---
 dlls/inetmib1/main.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/inetmib1/main.c b/dlls/inetmib1/main.c
index 76741f3..59f6f09 100644
--- a/dlls/inetmib1/main.c
+++ b/dlls/inetmib1/main.c
@@ -1348,8 +1348,7 @@ static struct mibImplementation *findSupportedQuery(UINT *ids, UINT idLength,
 
     if (!idLength)
         return NULL;
-    for (i = (indexLow + indexHigh) / 2; !impl && indexLow <= indexHigh;
-         i = (indexLow + indexHigh) / 2)
+    for (i = indexHigh / 2; !impl && indexLow <= indexHigh; i = (indexLow + indexHigh) / 2)
     {
         INT cmp;
 
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list