From 1609570c68ab04abbf41350dd81ebbcf64f83e1f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 17 Apr 2025 07:58:14 +0200 Subject: [PATCH] hostip: remove duplicate assignment Follow-up from 56e40ae6a532850b503 Pointed out by CodeSonar Closes #17080 --- lib/hostip.c | 1 - 1 file changed, 1 deletion(-) 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; }