oleaut32/tests: remove dead assignments (LLVM/Clang) (5/6)
Austin English
austinenglish at gmail.com
Thu Feb 10 18:45:13 CST 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index a1a3ec5..2bc643d 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;
@@ -2152,7 +2153,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-patches
mailing list