test ctf writer: fix lints
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 31 Oct 2013 20:52:42 +0000 (16:52 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 31 Oct 2013 20:52:42 +0000 (16:52 -0400)
commite1d776cd53da3f4caa6eacb3ca836fa5b3a598bd
treeee1b0e4c5a0cdd6e88d8aff0292ad392e312eb0e
parentc4e511dfb2a168ee45764b6f6e6190c400b76b4b
test ctf writer: fix lints

Coverity found the following defects:

** CID 1124096: Null pointer dereference (FORWARD_NULL)
/tests/lib/test_ctf_writer.c: 140

** CID 1124095: Dereference after null check (FORWARD_NULL)
/tests/lib/test_ctf_writer.c: 139

** CID 1124094: Dereference after null check (FORWARD_NULL)
/tests/lib/test_ctf_writer.c: 211

** CID 1124093: Argument cannot be negative (NEGATIVE_RETURNS)
/tests/lib/test_ctf_writer.c: 144

** CID 1124092: Argument cannot be negative (NEGATIVE_RETURNS)
/tests/lib/test_ctf_writer.c: 144

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/lib/test_ctf_writer.c
This page took 0.025268 seconds and 4 git commands to generate.