Module: wine Branch: master Commit: ebe77399876cc566dc0817e5ce8d5370ffc0f0fc URL: http://source.winehq.org/git/wine.git/?a=commit;h=ebe77399876cc566dc0817e5ce... Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Mon Jun 23 08:44:19 2008 +0200 ws2_32/tests: Initialize buffer to avoid valgrind warning. --- dlls/ws2_32/tests/sock.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index 79d2aeb..1256c2d 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -1127,6 +1127,7 @@ static void test_UDP(void) char buf[16]; int ss, i, n_recv, n_sent; + memset (buf,0,sizeof(buf)); for ( i = NUM_UDP_PEERS - 1; i >= 0; i-- ) { ok ( ( peer[i].s = socket ( AF_INET, SOCK_DGRAM, 0 ) ) != INVALID_SOCKET, "UDP: socket failed\n" );