]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
hostip: remove duplicate assignment
authorDaniel Stenberg <daniel@haxx.se>
Thu, 17 Apr 2025 05:58:14 +0000 (07:58 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 17 Apr 2025 07:12:29 +0000 (09:12 +0200)
Follow-up from 56e40ae6a532850b503

Pointed out by CodeSonar

Closes #17080

lib/hostip.c

index 43412abb509079ab0739731b887461a3536876a6..cb782f24fcf9aff89c7ba18b1bbeef1573a26de1 100644 (file)
@@ -764,7 +764,6 @@ convert_ipaddr_direct(const char *hostname, int port, bool *is_ipaddr)
     }
   }
 #endif /* USE_IPV6 */
-  *is_ipaddr = FALSE;
   return NULL;
 }