Fix: libcounter bad compare
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Nov 2020 20:38:19 +0000 (15:38 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 26 Nov 2020 20:38:19 +0000 (15:38 -0500)
commit41d6c53d7f72e279ac5b0e6490a5be37e460c4c0
tree3c24d33fb307309140453d0bd38b0bed87975801
parent8b914423d8af8805685f6114888f3bbd3b528d0f
Fix: libcounter bad compare

Identified by Coverity.

>>>     CID 1437325:  Incorrect expression  (BAD_COMPARE)
>>>     Comparing pointer "counter_cpu_fds" against "NULL" using anything besides "==" or "!=" is likely to be incorrect.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I0d21112a0266d67fafde7a6b81e0062a7a43dce0
libcounter/counter.c
This page took 0.024987 seconds and 4 git commands to generate.