Austin English : ole32/tests: Make sure to use a return value (LLVM/Clang).

Alexandre Julliard julliard at winehq.org
Mon Feb 14 10:02:07 CST 2011


Module: wine
Branch: master
Commit: 5206db805554de877ec685db5dd6e9a7aea59b97
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5206db805554de877ec685db5dd6e9a7aea59b97

Author: Austin English <austinenglish at gmail.com>
Date:   Thu Feb 10 15:50:30 2011 -0800

ole32/tests: Make sure to use a return value (LLVM/Clang).

---

 dlls/ole32/tests/ole2.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/ole32/tests/ole2.c b/dlls/ole32/tests/ole2.c
index 6de8cd1..8961186 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(hr == OLE_E_NOTRUNNING, "IOleObject_SetExtent should have returned OLE_E_NOTRUNNING instead of 0x%08x\n", hr);
 
     hr = IOleObject_SetHostNames(pObject, wszHostName, NULL);
     ok_ole_success(hr, "IOleObject_SetHostNames");




More information about the wine-cvs mailing list