Fix: unchecked return value of bt_ctf_field_type_get_field_at_index
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 3 Aug 2017 14:03:32 +0000 (10:03 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 9 Aug 2017 21:41:49 +0000 (17:41 -0400)
commitaa15981cec13ee886e86b7d3755b9654cebafc0c
treeccc1bdf2b063a0ca033bb611511282b8d4fdf036
parent60a977345d9e5e2631518f0d62aaa278baf42dd2
Fix: unchecked return value of bt_ctf_field_type_get_field_at_index

CID 1376152 (#1 of 1): Unchecked return value (CHECKED_RETURN).
check_return: Calling bt_ctf_field_type_structure_get_field_by_index
without checking return value (as is done elsewhere 23 out of 25 times).

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