ws2_32/tests: Don't read returnvalue when we don't test for it

André Hentschel nerv at dawncrow.de
Sat Jun 11 07:03:20 CDT 2011


This is a replacement for http://source.winehq.org/patches/data/75159
We don't test the return value here, because it differs to much across windows versions and isn't even constant when run multible times.
---
 dlls/ws2_32/tests/sock.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c
index 28d5db3..44539a8 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -520,7 +520,7 @@ static VOID WINAPI oob_server ( server_params *par )
     ok ( atmark == 0, "oob_server (%x): not at the OOB mark: %i\n", id, atmark );
 
     /* Receive the rest of the out-of-band data and check atmark state */
-    n_recvd = do_synchronous_recv ( mem->sock[0].s, mem->sock[0].buf, n_expected, par->buflen );
+    do_synchronous_recv ( mem->sock[0].s, mem->sock[0].buf, n_expected, par->buflen );
 
     ioctlsocket ( mem->sock[0].s, SIOCATMARK, &atmark );
     ok ( atmark == 0, "oob_server (%x): not at the OOB mark: %i\n", id, atmark );
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list