From 453405e2b4a78fcf81a7c9407fd32ce100b45fb1 Mon Sep 17 00:00:00 2001 From: Austin English Date: Fri, 4 Feb 2011 15:46:45 -0800 Subject: [PATCH] comcat/tests: Make sure to use return value (LLVM/Clang). --- dlls/comcat/tests/comcat.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/comcat/tests/comcat.c b/dlls/comcat/tests/comcat.c index 029d2e30ab3..cf0b7c19fe4 100644 --- a/dlls/comcat/tests/comcat.c +++ b/dlls/comcat/tests/comcat.c @@ -104,6 +104,7 @@ static void do_enum(void) ok_ole_success(hr,"ICatInformation_EnumClassesOfCategories"); hr = IEnumGUID_Next(pIEnum,1,the_guid, &fetched); + ok (hr == S_FALSE,"Expected S_FALSE, got 0x%08x", hr); ok (fetched == 0,"Fetched wrong number of guids %u\n",fetched); IEnumGUID_Release(pIEnum); @@ -113,6 +114,7 @@ static void do_enum(void) ok_ole_success(hr,"ICatInformation_EnumClassesOfCategories"); hr = IEnumGUID_Next(pIEnum,1,the_guid, &fetched); + ok (hr == S_OK,"Expected S_OK, got 0x%08x", hr); ok (fetched == 1,"Fetched wrong number of guids %u\n",fetched); ok (IsEqualGUID(the_guid,&wanted_guid),"Guids do not match\n");