Module: wine Branch: master Commit: 09213db643cd77b328d40fff04d9ac160f1d69a0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=09213db643cd77b328d40fff04...
Author: Frédéric Delanoy frederic.delanoy@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)