[WS2_32_WINETEST] Fix use of uninitialized variable
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 31 Aug 2022 16:07:00 +0000 (18:07 +0200)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Fri, 30 Dec 2022 10:19:26 +0000 (11:19 +0100)
modules/rostests/winetests/ws2_32/sock.c

index 2dc9fd8..48e08ee 100644 (file)
@@ -4694,6 +4694,7 @@ static void test_gethostbyname(void)
     he = gethostbyname(name);
     ok(he != NULL, "gethostbyname(\"%s\") failed: %d\n", name, WSAGetLastError());
 #ifdef __REACTOS__ /* ROSTESTS-233 */
+    count = 0;
     if (he != NULL)
     {
 #endif