mirror of
https://github.com/moparisthebest/curl
synced 2024-11-11 20:15:03 -05:00
avoid compiler warning without USE_ALARM_TIMEOUT
This commit is contained in:
parent
c869ae7447
commit
c245a8f92e
@ -624,9 +624,9 @@ int Curl_resolv_timeout(struct connectdata *conn,
|
|||||||
*/
|
*/
|
||||||
rc = Curl_resolv(conn, hostname, port, entry);
|
rc = Curl_resolv(conn, hostname, port, entry);
|
||||||
|
|
||||||
|
#ifdef USE_ALARM_TIMEOUT
|
||||||
clean_up:
|
clean_up:
|
||||||
|
|
||||||
#ifdef USE_ALARM_TIMEOUT
|
|
||||||
if (timeout > 0) {
|
if (timeout > 0) {
|
||||||
|
|
||||||
#ifdef HAVE_SIGACTION
|
#ifdef HAVE_SIGACTION
|
||||||
|
Loading…
Reference in New Issue
Block a user