mapi32/tests: Test the correct return code (PVS-Studio).
Michael Stefaniuc
mstefani at redhat.de
Mon Dec 22 04:25:07 CST 2014
---
dlls/mapi32/tests/prop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/mapi32/tests/prop.c b/dlls/mapi32/tests/prop.c
index a26f003..4e09931 100644
--- a/dlls/mapi32/tests/prop.c
+++ b/dlls/mapi32/tests/prop.c
@@ -1232,7 +1232,7 @@ static void test_IProp(void)
/* GetLastError - No errors set */
lpError = NULL;
- IPropData_GetLastError(lpIProp, E_INVALIDARG, 0, &lpError);
+ sc = IPropData_GetLastError(lpIProp, E_INVALIDARG, 0, &lpError);
ok(sc == S_OK && !lpError,
"GetLastError: Expected S_OK, null, got 0x%08X,%p\n", sc, lpError);
--
1.9.3
More information about the wine-patches
mailing list