ole32/tests: make sure to use a return value (LLVM/Clang) (2/3)

Austin English austinenglish at gmail.com
Thu Feb 10 17:16:02 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/ole32/tests/ole2.c b/dlls/ole32/tests/ole2.c
index 6de8cd1..e0ad570 100644
--- a/dlls/ole32/tests/ole2.c
+++ b/dlls/ole32/tests/ole2.c
@@ -1657,6 +1657,7 @@ static void test_default_handler(void)
 
     sizel.cx = sizel.cy = 0;
     hr = IOleObject_SetExtent(pObject, DVASPECT_CONTENT, &sizel);
+    ok_ole_success(hr, "IOleObject_SetExtent");
 
     hr = IOleObject_SetHostNames(pObject, wszHostName, NULL);
     ok_ole_success(hr, "IOleObject_SetHostNames");


More information about the wine-patches mailing list