From 14bf2dd2b6db2aaebdb737ff53c567ef061da27a Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Wed, 21 Apr 2010 19:38:50 +0200 Subject: [PATCH] oleaut32: Remove two variables that are not really used; corresponding checks are disabled. --- dlls/oleaut32/tests/vartype.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c index d785a59f541..88ef2a4f228 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 */