Module: wine Branch: master Commit: b75f36595f137372681b29174f73ae6461ce2489 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b75f36595f137372681b29174f...
Author: Paul Vriens paul.vriens.wine@gmail.com Date: Tue Nov 21 09:24:38 2006 +0100
ntdll: Remove unused variables.
---
dlls/ntdll/tests/string.c | 12 ------------ 1 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/dlls/ntdll/tests/string.c b/dlls/ntdll/tests/string.c index a8a6358..ce5892a 100644 --- a/dlls/ntdll/tests/string.c +++ b/dlls/ntdll/tests/string.c @@ -733,8 +733,6 @@ static void one_ui64tow_test(int test_nu static void test_ulonglongtow(void) { int test_num; - int pos; - WCHAR expected_wstr[LARGE_STRI_BUFFER_LENGTH + 1]; LPWSTR result;
for (test_num = 0; test_num < NB_ULONGLONG2STR; test_num++) { @@ -748,11 +746,6 @@ static void test_ulonglongtow(void) } /* if */ } /* for */
- for (pos = 0; pos < LARGE_STRI_BUFFER_LENGTH; pos++) { - expected_wstr[pos] = ulong2str[0].Buffer[pos]; - } /* for */ - expected_wstr[LARGE_STRI_BUFFER_LENGTH] = '\0'; - if (0) { /* Crashes on XP and W2K3 */ result = p_i64tow(ulonglong2str[0].value, NULL, 10); @@ -762,11 +755,6 @@ static void test_ulonglongtow(void) }
if (p_ui64tow) { - for (pos = 0; pos < LARGE_STRI_BUFFER_LENGTH; pos++) { - expected_wstr[pos] = ulong2str[0].Buffer[pos]; - } /* for */ - expected_wstr[LARGE_STRI_BUFFER_LENGTH] = '\0'; - if (0) { /* Crashes on XP and W2K3 */ result = p_ui64tow(ulonglong2str[0].value, NULL, 10);