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 22:00:20 +0000 (18:00 -0400)
commitf0cc145e74de610ddb8554bf2601d38d95bb685c
tree567708c95fc8ba19f6a569c36e06fa3242a271b4
parent1ea987e259d2a0f1bb9b93fb17816f74498f7c21
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.024044 seconds and 4 git commands to generate.