Commit 14bf2dd2 authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

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

parent 9d5b6bb9
...@@ -5338,7 +5338,6 @@ static void test_SysReAllocString(void) ...@@ -5338,7 +5338,6 @@ static void test_SysReAllocString(void)
if (str) if (str)
{ {
LPINTERNAL_BSTR bstr; LPINTERNAL_BSTR bstr;
BSTR oldstr = str;
int changed; int changed;
bstr = Get(str); bstr = Get(str);
...@@ -5353,7 +5352,6 @@ static void test_SysReAllocString(void) ...@@ -5353,7 +5352,6 @@ static void test_SysReAllocString(void)
ok (bstr->dwLen == 2, "Expected 2, got %d\n", bstr->dwLen); ok (bstr->dwLen == 2, "Expected 2, got %d\n", bstr->dwLen);
ok (!lstrcmpW(bstr->szString, szSmaller), "String different\n"); ok (!lstrcmpW(bstr->szString, szSmaller), "String different\n");
oldstr = str;
changed = SysReAllocString(&str, szLarger); changed = SysReAllocString(&str, szLarger);
ok (changed == 1, "Expected 1, got %d\n", changed); ok (changed == 1, "Expected 1, got %d\n", changed);
/* Early versions always make new strings rather than resizing */ /* Early versions always make new strings rather than resizing */
...@@ -5378,7 +5376,6 @@ static void test_SysReAllocStringLen(void) ...@@ -5378,7 +5376,6 @@ static void test_SysReAllocStringLen(void)
if (str) if (str)
{ {
LPINTERNAL_BSTR bstr; LPINTERNAL_BSTR bstr;
BSTR oldstr = str;
int changed; int changed;
bstr = Get(str); bstr = Get(str);
...@@ -5393,7 +5390,6 @@ static void test_SysReAllocStringLen(void) ...@@ -5393,7 +5390,6 @@ static void test_SysReAllocStringLen(void)
ok (bstr->dwLen == 2, "Expected 2, got %d\n", bstr->dwLen); ok (bstr->dwLen == 2, "Expected 2, got %d\n", bstr->dwLen);
ok (!lstrcmpW(bstr->szString, szSmaller), "String different\n"); ok (!lstrcmpW(bstr->szString, szSmaller), "String different\n");
oldstr = str;
changed = SysReAllocStringLen(&str, szLarger, 6); changed = SysReAllocStringLen(&str, szLarger, 6);
ok (changed == 1, "Expected 1, got %d\n", changed); ok (changed == 1, "Expected 1, got %d\n", changed);
/* Early versions always make new strings rather than resizing */ /* Early versions always make new strings rather than resizing */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment