sink.text.pretty: remove error checks for bt_field_borrow_class_const results
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 2 Mar 2020 19:18:30 +0000 (14:18 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 6 Mar 2020 18:36:39 +0000 (13:36 -0500)
commit1ccca665267b4bae923e6435496ed380bd080db5
tree6c17160166012890838a814eb43772f84a063c8c
parent87694a583f967f4b8e9e7b232805e93bdc0e6089
sink.text.pretty: remove error checks for bt_field_borrow_class_const results

bt_field_borrow_class_const can't fail, so these error checks are
unnecessary.  Removing them reveals that some of these variables were in
fact unused, so remove them.

Change-Id: I57867e0eb01db3bd7c73dfedc9d1772cbfad02d5
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/3155
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/plugins/text/pretty/print.c
This page took 0.025181 seconds and 4 git commands to generate.