=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ws2_32: Remove unneeded shadow variable.

Alexandre Julliard julliard at winehq.org
Mon Apr 23 13:41:37 CDT 2012


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Sun Apr 22 19:05:05 2012 +0200

ws2_32: Remove unneeded shadow variable.

---

 dlls/ws2_32/socket.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index fd384a5..21e084b 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -2759,7 +2759,7 @@ INT WINAPI WS_getsockopt(SOCKET s, INT level,
             static const int MAX_IRDA_DEVICES = 10;
             char buf[sizeof(struct irda_device_list) +
                      (MAX_IRDA_DEVICES - 1) * sizeof(struct irda_device_info)];
-            int fd, res;
+            int res;
             socklen_t len = sizeof(buf);
 
             if ( (fd = get_sock_fd( s, 0, NULL )) == -1)




More information about the wine-cvs mailing list