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

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 31 02:53:36 CDT 2014


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

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Fri Oct 31 00:24:38 2014 -0200

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

---

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

diff --git a/dlls/comctl32/tests/comboex.c b/dlls/comctl32/tests/comboex.c
index af01839..faa32a3 100644
--- a/dlls/comctl32/tests/comboex.c
+++ b/dlls/comctl32/tests/comboex.c
@@ -127,7 +127,7 @@ static HWND subclass_editbox(HWND hwndComboEx)
 
 static void test_comboboxex(void) {
     HWND myHwnd = 0;
-    LONG res = -1;
+    LONG res;
     COMBOBOXEXITEMA cbexItem;
     static const char *first_item  = "First Item",
                 *second_item = "Second Item",




More information about the wine-cvs mailing list