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

Bruno Jesus 00cpxxx at gmail.com
Thu Oct 30 20:04:22 CDT 2014


-------------- next part --------------
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-patches mailing list