Bruno Jesus : comctl32/tests: Remove a dead assignment from dpa.c ( Cppcheck).

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


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

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

comctl32/tests: Remove a dead assignment from dpa.c (Cppcheck).

---

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

diff --git a/dlls/comctl32/tests/dpa.c b/dlls/comctl32/tests/dpa.c
index 644f3aa..4eb32a4 100644
--- a/dlls/comctl32/tests/dpa.c
+++ b/dlls/comctl32/tests/dpa.c
@@ -271,7 +271,7 @@ static void test_dpa(void)
     ok(rc, "dw2=0x%x\n", dw2);
 
     /* Clone into an old DPA */
-    p = NULL; SetLastError(ERROR_SUCCESS);
+    SetLastError(ERROR_SUCCESS);
     p = pDPA_Clone(dpa, dpa3);
     ok(p == dpa3, "p=%p\n", p);
     rc=CheckDPA(dpa3, 0x123456, &dw3);




More information about the wine-cvs mailing list