From d7d2b7da6f86f325829fa25fe2f5a246984b29e0 Mon Sep 17 00:00:00 2001
From: Philip Balister <philip@balister.org>
Date: Mon, 5 Nov 2018 14:10:48 -0500
Subject: bin_statistics_f_impl.cc: Address Coverity 1375158.

The code tests if an unsigned value is greater than zero. This is always
true. Remove code that has no effect.

Signed-off-by: Philip Balister <philip@balister.org>
---
 gr-blocks/lib/bin_statistics_f_impl.cc | 2 --
 1 file changed, 2 deletions(-)

(limited to 'gr-blocks/lib/bin_statistics_f_impl.cc')

diff --git a/gr-blocks/lib/bin_statistics_f_impl.cc b/gr-blocks/lib/bin_statistics_f_impl.cc
index 1f17e85365..f91faea61d 100644
--- a/gr-blocks/lib/bin_statistics_f_impl.cc
+++ b/gr-blocks/lib/bin_statistics_f_impl.cc
@@ -114,7 +114,6 @@ namespace gr {
             t = std::min(noutput_items - n, int(d_delay));
             n += t;
             d_delay -= t;
-            assert(d_delay >= 0);
             if(d_delay == 0)
               enter_dwell_delay();
             break;
@@ -126,7 +125,6 @@ namespace gr {
               n++;
             }
             d_delay -= t;
-            assert(d_delay >= 0);
             if(d_delay == 0) {
               leave_dwell_delay();
               enter_tune_delay();
-- 
cgit v1.2.3