=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: ws2_32/tests: Remove dead code (coverity).

Alexandre Julliard julliard at winehq.org
Mon Oct 29 13:52:52 CDT 2012


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Sat Oct 27 19:23:12 2012 +0200

ws2_32/tests: Remove 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 6fa4249..8860448 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -5402,8 +5402,6 @@ static void test_completion_port(void)
 
     if (dest != INVALID_SOCKET)
         closesocket(dest);
-    if (src != INVALID_SOCKET)
-        closesocket(src);
 
     memset(&ov, 0, sizeof(ov));
 




More information about the wine-cvs mailing list