mapi32/tests: Test the correct return code (PVS-Studio).

This commit is contained in:
Michael Stefaniuc 2014-12-22 11:25:07 +01:00 committed by Alexandre Julliard
parent c1afef340c
commit dc467bf233
1 changed files with 1 additions and 1 deletions

View File

@ -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);