Commit ae079715 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

ws2_32: name is never NULL as array (Coverity).

parent 706b43f4
......@@ -2548,10 +2548,6 @@ static void test_gethostbyname_hack(void)
he->h_addr_list[0][3]);
}
/* No reason to test further with NULL hostname */
if(name == NULL)
return;
if(strcmp(name, "localhost") == 0)
{
skip("hostname seems to be \"localhost\", skipping test.\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment