]> granicus.if.org Git - curl/commitdiff
avoid compiler warning without USE_ALARM_TIMEOUT
authorDaniel Stenberg <daniel@haxx.se>
Wed, 24 Mar 2010 16:00:20 +0000 (17:00 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 24 Mar 2010 16:00:20 +0000 (17:00 +0100)
lib/hostip.c

index 04a29a754737db47d906464907dbe8ea2009a6f6..e34fd5a99afd58c5ccf93694c412f6e508ff8e5e 100644 (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