Coverity: remove pointless expression

pull/42/merge
David Schweikert 12 years ago
parent 6400ffb339
commit b0e09ce6fe

@ -1143,7 +1143,7 @@ void main_loop()
ev_enqueue(h); ev_enqueue(h);
} }
/* Count mode: schedule timeout after last ping */ /* Count mode: schedule timeout after last ping */
else if(count_flag && count_flag && h->num_sent >= count) { else if(count_flag && h->num_sent >= count) {
h->ev_type = EV_TYPE_TIMEOUT; h->ev_type = EV_TYPE_TIMEOUT;
h->ev_time.tv_sec = last_send_time.tv_sec; h->ev_time.tv_sec = last_send_time.tv_sec;
h->ev_time.tv_usec = last_send_time.tv_usec; h->ev_time.tv_usec = last_send_time.tv_usec;

Loading…
Cancel
Save