Commit 7883bb07 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

netapi32: Remove always true conditional expression (PVS-Studio).

parent 57fc6e58
...@@ -560,8 +560,7 @@ static UCHAR NetBTinetResolve(const UCHAR name[NCBNAMSZ], ...@@ -560,8 +560,7 @@ static UCHAR NetBTinetResolve(const UCHAR name[NCBNAMSZ],
if ((host = gethostbyname(toLookup)) != NULL) if ((host = gethostbyname(toLookup)) != NULL)
{ {
for (i = 0; ret == NRC_GOODRET && host->h_addr_list && for (i = 0; host->h_addr_list && host->h_addr_list[i]; i++)
host->h_addr_list[i]; i++)
; ;
if (host->h_addr_list && host->h_addr_list[0]) if (host->h_addr_list && host->h_addr_list[0])
{ {
......
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