From feff911fb77775bec166c5c8fccb4d1dfb339c26 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 18 Oct 2008 01:17:27 +0000 Subject: [PATCH] Removed a line of dead code (discovered by Coverity) --- lib/hostip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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