André Hentschel : ws2_32/tests: Don' t read return value when we don't test for it.
Alexandre Julliard
julliard at winehq.org
Mon Jun 13 11:49:16 CDT 2011
Module: wine
Branch: master
Commit: 3437591e71d0375aff5ab45ef2919040c79e89ca
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3437591e71d0375aff5ab45ef2919040c79e89ca
Author: André Hentschel <nerv at dawncrow.de>
Date: Sat Jun 11 14:03:20 2011 +0200
ws2_32/tests: Don't read return value when we don't test for it.
---
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 );
More information about the wine-cvs
mailing list