oleaut32/tests: Remove variable expectedhres which is not really used from test_VarDiv.

Gerald Pfeifer gerald at pfeifer.com
Sun May 2 14:23:49 CDT 2010


---
 dlls/oleaut32/tests/vartest.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/oleaut32/tests/vartest.c b/dlls/oleaut32/tests/vartest.c
index ef2445a..2374051 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;
-- 
1.6.6.2



More information about the wine-patches mailing list