oleaut32/tests: don't check return values inside of if(0) (LLVM/Clang) (1/6)

Austin English austinenglish at gmail.com
Thu Feb 10 18:44:34 CST 2011

This series should be the last of my Clang patches for now. I'll wait
for the dust to settle and a new clang run before doing more.

But the vast majority of warnings in the tests should be fixed.

-------------- next part --------------
diff --git a/dlls/oleaut32/tests/olepicture.c b/dlls/oleaut32/tests/olepicture.c
index c817b5f..52dbb73 100644
--- a/dlls/oleaut32/tests/olepicture.c
+++ b/dlls/oleaut32/tests/olepicture.c
@@ -495,7 +495,7 @@ static void test_OleCreatePictureIndirect(void)
 if (0)
     /* crashes on native */
-    hr = pOleCreatePictureIndirect(NULL, &IID_IPicture, TRUE, NULL);
+    pOleCreatePictureIndirect(NULL, &IID_IPicture, TRUE, NULL);
     hr = pOleCreatePictureIndirect(NULL, &IID_IPicture, TRUE, (void**)&pict);

More information about the wine-patches mailing list