From 9c3729795f8c1ba4332fde6c52a33038e9a29ede Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Sun, 2 May 2010 21:23:49 +0200 Subject: [PATCH] oleaut32/tests: Remove variable expectedhres which is not really used from test_VarDiv. --- dlls/oleaut32/tests/vartest.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c index ef2445a8c22..2374051dd5d 100644 --- a/dlls/oleaut32/tests/vartest.c +++ b/dlls/oleaut32/tests/vartest.c @@ -7130,7 +7130,7 @@ static void test_VarDiv(void) VARIANT left, right, exp, result, cy, dec; BSTR num1_str, num2_str; VARTYPE i; - HRESULT hres, expectedhres; + HRESULT hres; double r; num1_str = SysAllocString(str1); @@ -7170,7 +7170,6 @@ static void test_VarDiv(void) V_VT(&right) = rightvt | ExtraFlags[i]; V_VT(&result) = VT_EMPTY; resvt = VT_EMPTY; - expectedhres = S_OK; if (leftvt == VT_BSTR) V_BSTR(&left) = num2_str;