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

Alexandre Julliard julliard at winehq.org
Mon May 3 11:54:10 CDT 2010


Module: wine
Branch: master
Commit: 9c3729795f8c1ba4332fde6c52a33038e9a29ede
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9c3729795f8c1ba4332fde6c52a33038e9a29ede

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sun May  2 21:23:49 2010 +0200

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

---

 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;




More information about the wine-cvs mailing list