multi: fix unreachable code compiler warning

```
lib/multi.c:305:5: error: code will never be executed [clang-diagnostic-unreachable-code]
  305 |     goto error;
      |     ^~~~~~~~~~
```

Cherry-picked from #20774

Closes #20788
This commit is contained in:
Viktor Szakats 2026-02-28 22:43:19 +01:00
parent a5c6a4067a
commit b83ade783d
No known key found for this signature in database

View file

@ -301,8 +301,10 @@ struct Curl_multi *Curl_multi_handle(uint32_t xfer_table_size,
}
#endif
#ifdef USE_IPV6
if(Curl_probeipv6(multi))
goto error;
#endif
return multi;