fusion/tests: Make sure to use return values (LLVM/Clang).

This commit is contained in:
Austin English 2011-02-07 14:57:35 -08:00 committed by Alexandre Julliard
parent 8c771e3f7e
commit 262dab8418
1 changed files with 3 additions and 0 deletions

View File

@ -745,6 +745,7 @@ static void test_CreateAssemblyNameObject(void)
to_widechar(namestr, "wine, processorArchitecture=AMD64");
name = NULL;
hr = pCreateAssemblyNameObject(&name, namestr, CANOF_PARSE_DISPLAY_NAME, NULL);
ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
size = MAX_PATH;
hr = IAssemblyName_GetDisplayName(name, str, &size, ASM_DISPLAYF_PROCESSORARCHITECTURE);
@ -758,6 +759,7 @@ static void test_CreateAssemblyNameObject(void)
to_widechar(namestr, "wine, processorArchitecture=IA64");
name = NULL;
hr = pCreateAssemblyNameObject(&name, namestr, CANOF_PARSE_DISPLAY_NAME, NULL);
ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
size = MAX_PATH;
hr = IAssemblyName_GetDisplayName(name, str, &size, ASM_DISPLAYF_PROCESSORARCHITECTURE);
@ -771,6 +773,7 @@ static void test_CreateAssemblyNameObject(void)
to_widechar(namestr, "wine, processorArchitecture=MSIL");
name = NULL;
hr = pCreateAssemblyNameObject(&name, namestr, CANOF_PARSE_DISPLAY_NAME, NULL);
ok(hr == S_OK, "Expected S_OK, got %08x\n", hr);
size = MAX_PATH;
hr = IAssemblyName_GetDisplayName(name, str, &size, ASM_DISPLAYF_PROCESSORARCHITECTURE);