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

oldstable
Marcus Meissner 2011-02-23 21:27:22 +01:00 committed by Alexandre Julliard
parent 706b43f4dd
commit ae0797150e
1 changed files with 0 additions and 4 deletions

View File

@ -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");