comctl32/tests: Remove a dead assignment in misc.c (Cppcheck)
Bruno Jesus
00cpxxx at gmail.com
Fri Oct 31 20:43:57 CDT 2014
[dlls\comctl32\tests\misc.c:78] -> [dlls\comctl32\tests\misc.c:82]:
(performance) Variable 'count' is reassigned a value before the old
one has been used.
-------------- next part --------------
diff --git a/dlls/comctl32/tests/misc.c b/dlls/comctl32/tests/misc.c
index 69a7db4..280b46c 100644
--- a/dlls/comctl32/tests/misc.c
+++ b/dlls/comctl32/tests/misc.c
@@ -75,7 +75,7 @@ static void test_GetPtrAW(void)
static char dest[MAX_PATH];
int sourcelen;
int destsize = MAX_PATH;
- int count = -1;
+ int count;
sourcelen = strlen(source) + 1;
More information about the wine-patches
mailing list