Marcus Meissner : ws2_32: Removed dead code (Coverity).

Alexandre Julliard julliard at winehq.org
Tue Jan 3 12:52:54 CST 2012


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

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Sat Dec 31 15:12:41 2011 +0100

ws2_32: Removed dead code (Coverity).

---

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

diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 5677a2c..2905267 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -5328,8 +5328,6 @@ static void test_completion_port(void)
 
     if (dest != INVALID_SOCKET)
         closesocket(dest);
-    if (src != INVALID_SOCKET)
-        closesocket(src);
 
 
     src = socket(AF_INET, SOCK_STREAM, 0);




More information about the wine-cvs mailing list