comctl32/tests: Remove dead assignment in comboex.c (Cppcheck)
Bruno Jesus
00cpxxx at gmail.com
Thu Oct 30 21:24:38 CDT 2014
[dlls\comctl32\tests\comboex.c:130] ->
[dlls\comctl32\tests\comboex.c:146]: (performance) Variable 'res' is
reassigned a value before the old one has been used.
-------------- next part --------------
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-patches
mailing list