Module: wine Branch: master Commit: ae0797150e40f30dbb35a395e68a1a0195c47d6b URL: http://source.winehq.org/git/wine.git/?a=commit;h=ae0797150e40f30dbb35a395e6... Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Wed Feb 23 21:27:22 2011 +0100 ws2_32: name is never NULL as array (Coverity). --- dlls/ws2_32/tests/sock.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index d2f011f..ca72e68 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -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");