sink.text.details: replace switch to convert status with cast
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 11 Apr 2020 17:08:54 +0000 (13:08 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 11 Apr 2020 23:13:48 +0000 (19:13 -0400)
commit818919b92b3dfe0834cec1c2e15d6ed6a41abb70
tree84c756cb4817d0a64023e7da6c922949a0553f31
parent090eb20a8731fc7369568df30706cbd3b05ddb37
sink.text.details: replace switch to convert status with cast

Replace the switch currently used in details_consume, to convert the
status of bt_message_iterator_next, with a simple cast, as per standard
procedure.

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