avoid compiler warning without USE_ALARM_TIMEOUT

This commit is contained in:
Daniel Stenberg 2010-03-24 17:00:20 +01:00
parent c869ae7447
commit c245a8f92e
1 changed files with 1 additions and 1 deletions

View File

@ -624,9 +624,9 @@ int Curl_resolv_timeout(struct connectdata *conn,
*/
rc = Curl_resolv(conn, hostname, port, entry);
#ifdef USE_ALARM_TIMEOUT
clean_up:
#ifdef USE_ALARM_TIMEOUT
if (timeout > 0) {
#ifdef HAVE_SIGACTION