https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c1362c64b0f5526c4d767…
commit c1362c64b0f5526c4d767624421c0f353825ae3f
Author: Timo Kreuzer <timo.kreuzer(a)reactos.org>
AuthorDate: Wed Aug 31 18:07:00 2022 +0200
Commit: Timo Kreuzer <timo.kreuzer(a)reactos.org>
CommitDate: Fri Dec 30 11:19:26 2022 +0100
[WS2_32_WINETEST] Fix use of uninitialized variable
---
modules/rostests/winetests/ws2_32/sock.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/rostests/winetests/ws2_32/sock.c
b/modules/rostests/winetests/ws2_32/sock.c
index 2dc9fd8b9ed..48e08eee6f1 100644
--- a/modules/rostests/winetests/ws2_32/sock.c
+++ b/modules/rostests/winetests/ws2_32/sock.c
@@ -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