oleaut32/tests: Remove variable changed which is not really used from test_SysReAllocStringLen.
Gerald Pfeifer
gerald at pfeifer.com
Fri May 7 14:31:09 CDT 2010
The test already checks for the size of the allocation, I guess this
is why the return value never has been checked for and I don't think
that would add on top of the already existing tests for that.
Gerald
---
dlls/oleaut32/tests/vartype.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/oleaut32/tests/vartype.c b/dlls/oleaut32/tests/vartype.c
index 88ef2a4..3df4afa 100644
--- a/dlls/oleaut32/tests/vartype.c
+++ b/dlls/oleaut32/tests/vartype.c
@@ -5440,9 +5440,7 @@ static void test_SysReAllocStringLen(void)
ok(str != NULL, "Expected non-NULL\n");
if(str)
{
- int changed;
-
- changed = SysReAllocStringLen(&str, str, 1000000);
+ SysReAllocStringLen(&str, str, 1000000);
ok(SysStringLen(str)==1000000, "Incorrect string length\n");
ok(!memcmp(szTest, str, 4*sizeof(WCHAR)), "Incorrect string returned\n");
--
1.6.6.2
More information about the wine-patches
mailing list