https://git.reactos.org/?p=reactos.git;a=commitdiff;h=866918c7851aa21886f951ebe2d5e80b9b20c1df

commit 866918c7851aa21886f951ebe2d5e80b9b20c1df
Author:     Timo Kreuzer <[email protected]>
AuthorDate: Sun Aug 14 22:40:39 2022 +0200
Commit:     Timo Kreuzer <[email protected]>
CommitDate: Thu Dec 1 20:17:40 2022 +0200

    [WS2_32_APITEST] Fix uninitialized variable
---
 modules/rostests/apitests/ws2_32/bind.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/rostests/apitests/ws2_32/bind.c 
b/modules/rostests/apitests/ws2_32/bind.c
index 2ff5524db1e..83538c5ec5f 100644
--- a/modules/rostests/apitests/ws2_32/bind.c
+++ b/modules/rostests/apitests/ws2_32/bind.c
@@ -133,7 +133,7 @@ START_TEST(bind)
     int Error;
     CHAR LocalHostName[128];
     struct hostent *Hostent;
-    IN_ADDR Address;
+    IN_ADDR Address = { 0 };
     SOCKET Socket;
     struct sockaddr_in Addr = { AF_INET };
 

Reply via email to