ws2_32/tests: Initialize atmark (valgrind)

André Hentschel nerv at dawncrow.de
Mon May 30 17:30:26 CDT 2011


---
 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 d1ac3c4..3116a0d 100644
--- a/dlls/ws2_32/tests/sock.c
+++ b/dlls/ws2_32/tests/sock.c
@@ -470,7 +470,7 @@ static VOID WINAPI oob_server ( server_params *par )
 {
     test_params *gen = par->general;
     server_memory *mem;
-    u_long atmark;
+    u_long atmark = 0;
     int pos, n_recvd, n_expected = gen->n_chunks * gen->chunk_size, tmp,
         id = GetCurrentThreadId();
 
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list