From: Dan Fandrich Date: Sat, 18 Oct 2008 01:17:27 +0000 (+0000) Subject: Removed a line of dead code (discovered by Coverity) X-Git-Tag: curl-7_19_1~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=feff911fb77775bec166c5c8fccb4d1dfb339c26;p=curl Removed a line of dead code (discovered by Coverity) --- diff --git a/lib/hostip.c b/lib/hostip.c index 03dcce86c..21dcf5b1e 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -592,7 +592,7 @@ int Curl_resolv_timeout(struct connectdata *conn, /* alarm() makes a signal get sent when the timeout fires off, and that will abort system calls */ - prev_alarm = alarm((unsigned int) (timeout ? timeout/1000L : timeout)); + prev_alarm = alarm((unsigned int) (timeout/1000L)); } #else