Fix: assert compared unsigned to 0
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 24 Jul 2017 21:21:17 +0000 (17:21 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 7 Aug 2017 20:57:16 +0000 (16:57 -0400)
commitfa2061debad0ebf5c18598c12c58d84af4304aea
tree54ce234dff4a6f4abf7e37d5130eb2ea52f764ee
parent0ca8409d46a794bafa1cbd50eb531fc650d148c1
Fix: assert compared unsigned to 0

Found by Coverity:

CID 1376195 (#1 of 1): Macro compares unsigned to 0 (NO_EFFECT)
unsigned_compare: This greater-than-or-equal-to-zero comparison of an
unsigned value is always true. event_class_id >= 0UL.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
lib/ctf-ir/stream.c
This page took 0.024171 seconds and 4 git commands to generate.