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

Alexandre Julliard julliard at winehq.org
Mon Jan 30 14:05:53 CST 2012


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Sun Jan 29 22:37:38 2012 +0100

ws2_32/tests: Remove dead code in test_completion_port (Coverity).

---

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

diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 9e111f8..2de23c9 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -5599,9 +5599,6 @@ static void test_completion_port(void)
     ok(num_bytes == 0xdeadbeef, "Number of bytes transferred is %u\n", num_bytes);
     ok(!olp, "Overlapped structure is at %p\n", olp);
 
-
-    if (dest != INVALID_SOCKET)
-        closesocket(dest);
     if (src != INVALID_SOCKET)
         closesocket(src);
     if (connector != INVALID_SOCKET)




More information about the wine-cvs mailing list