cli: remove the global volatile `interrupted` variable
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 24 Jul 2019 14:25:17 +0000 (10:25 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 24 Jul 2019 16:00:31 +0000 (12:00 -0400)
We can use the global interrupter's state instead, and we don't need to
check the interruption status before calling bt_query_executor_query()
and bt_graph_run() as both functions check their interruption state
initially.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I3818843c44b016cf2b872d879b461eae52730e6b
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1758
Tested-by: jenkins <jenkins@lttng.org>

No differences found
This page took 0.025514 seconds and 4 git commands to generate.