From b0e09ce6fe7c099175480f23ee2fd977933f92b4 Mon Sep 17 00:00:00 2001 From: David Schweikert Date: Tue, 23 Apr 2013 21:59:32 +0200 Subject: [PATCH] Coverity: remove pointless expression --- src/fping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fping.c b/src/fping.c index dd43500..ad64664 100644 --- a/src/fping.c +++ b/src/fping.c @@ -1143,7 +1143,7 @@ void main_loop() ev_enqueue(h); } /* 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_time.tv_sec = last_send_time.tv_sec; h->ev_time.tv_usec = last_send_time.tv_usec;