diff options
author | Tom Tsou <tom.tsou@ettus.com> | 2016-10-04 11:59:42 -0700 |
---|---|---|
committer | Tom Tsou <tom.tsou@ettus.com> | 2016-10-04 12:00:45 -0700 |
commit | 49792aa1f7096f53fef6c09579826d5f02eab3a8 (patch) | |
tree | 2497b5a61c4ae27608a5f33875b820458809c4bd | |
parent | e5c36f6abb39ab0e1379f88efe9bd1977cff4261 (diff) |
sigproc: Remove non-functional TSC check
Remove unsigned compare against less-than-zero.
Fixes: Coverity CID 149352
Signed-off-by: Tom Tsou <tom.tsou@ettus.com>
-rw-r--r-- | Transceiver52M/sigProcLib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/sigProcLib.cpp b/Transceiver52M/sigProcLib.cpp index aa40153..80652eb 100644 --- a/Transceiver52M/sigProcLib.cpp +++ b/Transceiver52M/sigProcLib.cpp @@ -1909,7 +1909,7 @@ int analyzeTrafficBurst(signalVector &rxBurst, unsigned tsc, float thresh, int rc, target, head, tail; CorrelationSequence *sync; - if ((tsc < 0) || (tsc > 7)) + if (tsc > 7) return -SIGERR_UNSUPPORTED; target = 3 + 58 + 16 + 5; |