cli: remove the global volatile `interrupted` variable
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 24 Jul 2019 14:25:17 +0000 (10:25 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Aug 2019 18:05:19 +0000 (14:05 -0400)
commit35d7d893ddfc4cedbf6b625ddad7f4f90681fb78
tree0d3cd40fa788801d93ce150fa55051dec3dbd55e
parentc7f8c4e43a72dd669e76c132bc7bd145679072af
cli: remove the global volatile `interrupted` variable

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>
src/cli/babeltrace2.c
This page took 0.02502 seconds and 4 git commands to generate.