mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:11:45 +03:00
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:
parent
a5c6a4067a
commit
b83ade783d
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue