]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
asyn-thrdd: drop redundant `result` check
authorViktor Szakats <commit@vsz.me>
Wed, 22 Apr 2026 15:34:57 +0000 (17:34 +0200)
committerViktor Szakats <commit@vsz.me>
Wed, 22 Apr 2026 16:24:25 +0000 (18:24 +0200)
Pointed out by GitHub Code Quality

Closes #21415

lib/asyn-thrdd.c

index 12a9b9deaef620cdf17b15253ceafd49a5d7c96e..ce61ed64b620b9a5084ad90a72681cda9a72bb7c 100644 (file)
@@ -627,8 +627,6 @@ CURLcode Curl_async_getaddrinfo(struct Curl_easy *data,
     if(result)
       goto out;
   }
-  if(result)
-    goto out;
 
 #ifdef CURLVERBOSE
   Curl_thrdq_trace(data->multi->resolv_thrdq, data);