Austin English : oleaut32/tests: Don't check return values inside of if(0) (LLVM/Clang).
Alexandre Julliard
julliard at winehq.org
Tue Feb 15 11:29:27 CST 2011
Module: wine
Branch: master
Commit: 00b8083b8698047e07774dfd4e5faa018be5f770
URL: http://source.winehq.org/git/wine.git/?a=commit;h=00b8083b8698047e07774dfd4e5faa018be5f770
Author: Austin English <austinenglish at gmail.com>
Date: Thu Feb 10 16:45:15 2011 -0800
oleaut32/tests: Don't check return values inside of if(0) (LLVM/Clang).
---
dlls/oleaut32/tests/vartype.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c
index a620eec..484a17f 100644
--- a/dlls/oleaut32/tests/vartype.c
+++ b/dlls/oleaut32/tests/vartype.c
@@ -5481,7 +5481,7 @@ static void test_VarBstrCat(void)
if (0)
{
/* Crash */
- ret = VarBstrCat(NULL, NULL, NULL);
+ VarBstrCat(NULL, NULL, NULL);
}
/* Concatenation of two NULL strings works */
More information about the wine-cvs
mailing list