Bruno Jesus : advapi32/tests: Fix copy & paste issue (Cppcheck).

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


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

Author: Bruno Jesus <00cpxxx at gmail.com>
Date:   Thu Oct 30 23:04:22 2014 -0200

advapi32/tests: Fix copy & paste issue (Cppcheck).

---

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

diff --git a/dlls/advapi32/tests/registry.c b/dlls/advapi32/tests/registry.c
index 82391e1..1445f6f 100644
--- a/dlls/advapi32/tests/registry.c
+++ b/dlls/advapi32/tests/registry.c
@@ -1136,7 +1136,7 @@ static void test_reg_open_key(void)
         ok(error == ERROR_SUCCESS,
            "Expected RegSetKeySecurity to return success, got error %u\n", error);
 
-        bRet = RegSetKeySecurity(hkRoot32, DACL_SECURITY_INFORMATION, sd);
+        error = RegSetKeySecurity(hkRoot32, DACL_SECURITY_INFORMATION, sd);
         ok(error == ERROR_SUCCESS,
            "Expected RegSetKeySecurity to return success, got error %u\n", error);
 




More information about the wine-cvs mailing list