André Hentschel : ws2_32/tests: Initialize atmark ( valgrind).

Alexandre Julliard julliard at winehq.org
Tue May 31 13:08:17 CDT 2011


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue May 31 00:30:26 2011 +0200

ws2_32/tests: Initialize atmark (valgrind).

---

 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();
 




More information about the wine-cvs mailing list