]> git.lttng.org Git - lttng-tools.git/commit
Clean-up: lttng-ctl: remove unused variable
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 15 Jan 2025 19:02:23 +0000 (14:02 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 16 Jan 2025 19:18:27 +0000 (19:18 +0000)
commit8b8c88ac9256dc80f596bccd5ca1061f2a345af4
treec7be940ed0486f5dd700bff47628c60f4c1dcd2f
parentba1220fab9184c36474fa4f45a00707944c0656b
Clean-up: lttng-ctl: remove unused variable

Fix:

      CXX      lttng-ctl.lo
    /home/simark/src/lttng-tools/src/lib/lttng-ctl/lttng-ctl.cpp: In function 'int lttng_enable_channel(lttng_handle*, lttng_channel*)':
    /home/simark/src/lttng-tools/src/lib/lttng-ctl/lttng-ctl.cpp:1549:31: error: unused variable 'ret_code' [-Werror=unused-variable]
     1549 |         enum lttng_error_code ret_code;
          |                               ^~~~~~~~

Change-Id: Ie3b12eb9fba99578a677b1679147ea29daddb653
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/lib/lttng-ctl/lttng-ctl.cpp
This page took 0.029101 seconds and 4 git commands to generate.