Gerald Pfeifer : oleaut32: Remove two variables that are not really used; corresponding checks are disabled.

Alexandre Julliard julliard at winehq.org
Thu Apr 22 11:24:01 CDT 2010


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Wed Apr 21 19:38:50 2010 +0200

oleaut32: Remove two variables that are not really used; corresponding checks are disabled.

---

 dlls/oleaut32/tests/vartype.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c
index d785a59..88ef2a4 100644
--- a/dlls/oleaut32/tests/vartype.c
+++ b/dlls/oleaut32/tests/vartype.c
@@ -5338,7 +5338,6 @@ static void test_SysReAllocString(void)
   if (str)
   {
     LPINTERNAL_BSTR bstr;
-    BSTR oldstr = str;
     int changed;
 
     bstr = Get(str);
@@ -5353,7 +5352,6 @@ static void test_SysReAllocString(void)
     ok (bstr->dwLen == 2, "Expected 2, got %d\n", bstr->dwLen);
     ok (!lstrcmpW(bstr->szString, szSmaller), "String different\n");
 
-    oldstr = str;
     changed = SysReAllocString(&str, szLarger);
     ok (changed == 1, "Expected 1, got %d\n", changed);
     /* Early versions always make new strings rather than resizing */
@@ -5378,7 +5376,6 @@ static void test_SysReAllocStringLen(void)
   if (str)
   {
     LPINTERNAL_BSTR bstr;
-    BSTR oldstr = str;
     int changed;
 
     bstr = Get(str);
@@ -5393,7 +5390,6 @@ static void test_SysReAllocStringLen(void)
     ok (bstr->dwLen == 2, "Expected 2, got %d\n", bstr->dwLen);
     ok (!lstrcmpW(bstr->szString, szSmaller), "String different\n");
 
-    oldstr = str;
     changed = SysReAllocStringLen(&str, szLarger, 6);
     ok (changed == 1, "Expected 1, got %d\n", changed);
     /* Early versions always make new strings rather than resizing */




More information about the wine-cvs mailing list