Michael Stefaniuc : ws2_32/tests: Remove an unused assignment (PVS-Studio) .

Alexandre Julliard julliard at wine.codeweavers.com
Wed Mar 4 09:22:17 CST 2015


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Wed Mar  4 10:11:41 2015 +0100

ws2_32/tests: Remove an unused assignment (PVS-Studio).

---

 dlls/ws2_32/tests/sock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 19663c2..6569515 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -3702,7 +3702,7 @@ static void test_accept(void)
 
     closesocket(accepted);
     closesocket(connector);
-    accepted = connector = server_socket = INVALID_SOCKET;
+    accepted = connector = INVALID_SOCKET;
 
     socklen = sizeof(address);
     server_socket = setup_server_socket(&address, &socklen);




More information about the wine-cvs mailing list