ntdll/tests: Remove variable len which is not really used from create_file_test.

Gerald Pfeifer gerald at pfeifer.com
Tue May 4 17:24:46 CDT 2010


---
 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;
-- 
1.6.6.2



More information about the wine-patches mailing list