Removed a line of dead code (discovered by Coverity)
This commit is contained in:
parent
8eee5f3253
commit
feff911fb7
@ -592,7 +592,7 @@ int Curl_resolv_timeout(struct connectdata *conn,
|
|||||||
|
|
||||||
/* alarm() makes a signal get sent when the timeout fires off, and that
|
/* alarm() makes a signal get sent when the timeout fires off, and that
|
||||||
will abort system calls */
|
will abort system calls */
|
||||||
prev_alarm = alarm((unsigned int) (timeout ? timeout/1000L : timeout));
|
prev_alarm = alarm((unsigned int) (timeout/1000L));
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user