Bruno Jesus : comctl32/tests: Remove a dead assignment in misc.c (Cppcheck ).

Alexandre Julliard julliard at wine.codeweavers.com
Mon Nov 3 07:21:48 CST 2014


Module: wine
Branch: master
Commit: a2818db03b9c74ac1ca5f0f0cd2df13dcd7501c9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a2818db03b9c74ac1ca5f0f0cd2df13dcd7501c9

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Fri Oct 31 23:43:57 2014 -0200

comctl32/tests: Remove a dead assignment in misc.c (Cppcheck).

---

 dlls/comctl32/tests/misc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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-cvs mailing list