ws2_32: Remove unneeded shadow variable
André Hentschel
nerv at dawncrow.de
Sun Apr 22 12:05:05 CDT 2012
---
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)
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list