From fdf24a94062439c1ada9992c1ef769c68fe0d3dc Mon Sep 17 00:00:00 2001 From: Austin English Date: Thu, 10 Feb 2011 16:45:13 -0800 Subject: [PATCH] oleaut32/tests: Remove dead assignments (LLVM/Clang). --- dlls/oleaut32/tests/vartest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c index c14dd911d3c..ca1767dbc8a 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) ||