Fix: ctf: query.c: Unchecked fclose() return value
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 15 Oct 2019 23:06:43 +0000 (19:06 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 17 Oct 2019 16:13:27 +0000 (12:13 -0400)
commita7d6bdfd05c148bcb6ceae846fcee1af582d37ed
tree3241af18aeaba18c4cd5cf5694ff7f3dbebec997
parent791f305803ade4cd68e4312a937ffc786de47958
Fix: ctf: query.c: Unchecked fclose() return value

Coverity report:
  CID 1382583 (#1 of 1): Unchecked return value (CHECKED_RETURN)12.
  check_return: Calling fclose without checking return value (as is done
  elsewhere 9 out of 11 times).

Reported-by: Coverity (1382583) Unchecked return value
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: Ic5f7d46992b823bcb0571853da4ca23dcefe3d35
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2207
CI-Build: Jonathan Rajotte Julien <jonathan.rajotte-julien@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/plugins/ctf/fs-src/query.c
This page took 0.024269 seconds and 4 git commands to generate.