Gerald Pfeifer : ntdll/tests: Remove variable len which is not really used from create_file_test.
Alexandre Julliard
julliard at winehq.org
Wed May 5 11:08:36 CDT 2010
Module: wine
Branch: master
Commit: b8ee1459927fdb34df2838d0fb333f8c0f25e072
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b8ee1459927fdb34df2838d0fb333f8c0f25e072
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Wed May 5 00:24:46 2010 +0200
ntdll/tests: Remove variable len which is not really used from create_file_test.
---
dlls/ntdll/tests/file.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c
index 708803f..2828794 100644
--- a/dlls/ntdll/tests/file.c
+++ b/dlls/ntdll/tests/file.c
@@ -163,9 +163,8 @@ static void create_file_test(void)
OBJECT_ATTRIBUTES attr;
IO_STATUS_BLOCK io;
UNICODE_STRING nameW;
- UINT len;
- len = GetCurrentDirectoryW( MAX_PATH, path );
+ GetCurrentDirectoryW( MAX_PATH, path );
pRtlDosPathNameToNtPathName_U( path, &nameW, NULL, NULL );
attr.Length = sizeof(attr);
attr.RootDirectory = 0;
More information about the wine-cvs
mailing list