Dmitry Timoshkov : ntdll: Remove shadow local variables.

Alexandre Julliard julliard at winehq.org
Thu Jan 9 12:52:49 CST 2014


Module: wine
Branch: master
Commit: c7332fa1dc297e0aab71a7f6cf27d964c598e23d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c7332fa1dc297e0aab71a7f6cf27d964c598e23d

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Thu Jan  9 19:06:29 2014 +0900

ntdll: Remove shadow local variables.

---

 dlls/ntdll/file.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index cf95cd0..d2efcc1 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -2134,7 +2134,6 @@ NTSTATUS WINAPI NtQueryInformationFile( HANDLE hFile, PIO_STATUS_BLOCK io,
                 if (size > 0x10000) size = 0x10000;
                 if ((tmpbuf = RtlAllocateHeap( GetProcessHeap(), 0, size )))
                 {
-                    int fd, needs_close;
                     if (!server_get_unix_fd( hFile, FILE_READ_DATA, &fd, &needs_close, NULL, NULL ))
                     {
                         int res = recv( fd, tmpbuf, size, MSG_PEEK );




More information about the wine-cvs mailing list