Gerald Pfeifer : oleaut32/tests: Remove variable changed which is not really used from test_SysReAllocStringLen .
Alexandre Julliard
julliard at winehq.org
Mon May 10 11:59:15 CDT 2010
Module: wine
Branch: master
Commit: b98f916dae61ff2f99482797e1e6cb77d2de02bc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b98f916dae61ff2f99482797e1e6cb77d2de02bc
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Fri May 7 21:31:09 2010 +0200
oleaut32/tests: Remove variable changed which is not really used from test_SysReAllocStringLen.
---
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 2ee5fea..c46ad8a 100644
--- a/dlls/oleaut32/tests/vartype.c
+++ b/dlls/oleaut32/tests/vartype.c
@@ -5444,9 +5444,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");
More information about the wine-cvs
mailing list