lttng: enable-event: remove gotos from cmd_enable_event
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 11 Dec 2023 21:57:37 +0000 (16:57 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 28 Feb 2024 15:40:08 +0000 (10:40 -0500)
commit27b5aa577cff515f5273f75320190877a85317e2
tree97f723e19052af28a6e2487b1c3ffa5817044c6d
parentbf1413aaae6d2c32192242a80fe0e3a6405c4915
lttng: enable-event: remove gotos from cmd_enable_event

The use of automated resource management makes it possible to remove the
numerous uses of gotos in cmd_enable_event. Replace them by simple
return statements.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ic9f3207d8b1e9c5b044506e0233468230db1acd0
src/bin/lttng/commands/enable_events.cpp
This page took 0.025539 seconds and 4 git commands to generate.