Austin English : oleaut32/tests: Remove dead assignments (LLVM/Clang).
Alexandre Julliard
julliard at winehq.org
Tue Feb 15 11:29:27 CST 2011
Module: wine
Branch: master
Commit: fdf24a94062439c1ada9992c1ef769c68fe0d3dc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fdf24a94062439c1ada9992c1ef769c68fe0d3dc
Author: Austin English <austinenglish at gmail.com>
Date: Thu Feb 10 16:45:13 2011 -0800
oleaut32/tests: Remove dead assignments (LLVM/Clang).
---
dlls/oleaut32/tests/vartest.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index c14dd91..ca1767d 100644
--- a/dlls/oleaut32/tests/vartest.c
+++ b/dlls/oleaut32/tests/vartest.c
@@ -449,7 +449,8 @@ static void test_VariantClear(void)
IUnknown *punk;
/* Crashes: Native does not test input for NULL, so neither does Wine */
- if (0) hres = VariantClear(NULL);
+ if (0)
+ VariantClear(NULL);
/* Only the type field is set, to VT_EMPTY */
V_VT(&v) = VT_UI4;
@@ -2154,7 +2155,6 @@ static void test_VarSub(void)
if (rightvt == VT_BSTR)
V_BSTR(&right) = rbstr;
V_VT(&result) = VT_EMPTY;
- resvt = VT_ERROR;
/* All extra flags produce errors */
if (ExtraFlags[i] == (VT_VECTOR|VT_BYREF|VT_RESERVED) ||
More information about the wine-cvs
mailing list