Nikolay Sivov : msi/tests: Add missing return value test (PVS-Studio).
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Oct 28 10:16:14 CDT 2015
Module: wine
Branch: master
Commit: fe8ecc23aad83e481258eed5d1e3d685d0d8ec68
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fe8ecc23aad83e481258eed5d1e3d685d0d8ec68
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Tue Oct 27 22:55:37 2015 +0300
msi/tests: Add missing return value test (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msi/tests/action.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/msi/tests/action.c b/dlls/msi/tests/action.c
index 05e3b1e..662ed4b 100644
--- a/dlls/msi/tests/action.c
+++ b/dlls/msi/tests/action.c
@@ -5904,6 +5904,7 @@ static void test_publish_components(void)
res = RegCreateKeyExA(HKEY_LOCAL_MACHINE, keypath2, 0, NULL, REG_OPTION_NON_VOLATILE,
MAXIMUM_ALLOWED | KEY_WOW64_64KEY, NULL, &key, NULL );
+ ok(res == ERROR_SUCCESS, "RegCreateKeyEx failed %d\n", res);
res = RegSetValueExA(key, "english.txt", 0, REG_MULTI_SZ, data, size);
ok(res == ERROR_SUCCESS, "RegSetValueEx failed %d\n", res);
RegCloseKey(key);
More information about the wine-cvs
mailing list