oleaut32/tests: Remove dead assignments (LLVM/Clang).

This commit is contained in:
Austin English 2011-02-10 16:45:13 -08:00 committed by Alexandre Julliard
parent 35c2ebd673
commit fdf24a9406
1 changed files with 2 additions and 2 deletions

View File

@ -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) ||