From: Daniel Stenberg Date: Thu, 17 Apr 2025 05:58:14 +0000 (+0200) Subject: hostip: remove duplicate assignment X-Git-Tag: curl-8_14_0~278 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1609570c68ab04abbf41350dd81ebbcf64f83e1f;p=thirdparty%2Fcurl.git hostip: remove duplicate assignment Follow-up from 56e40ae6a532850b503 Pointed out by CodeSonar Closes #17080 --- diff --git a/lib/hostip.c b/lib/hostip.c index 43412abb50..cb782f24fc 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -764,7 +764,6 @@ convert_ipaddr_direct(const char *hostname, int port, bool *is_ipaddr) } } #endif /* USE_IPV6 */ - *is_ipaddr = FALSE; return NULL; }