clang-tidy: apply suggested fixes
[lttng-tools.git] / src / bin / lttng-sessiond / clear.cpp
index b08cc8791ac2bf2a28297fae667389f0e833c82a..2e26c880ab6d4ad9290356666fe650b8eae70708 100644 (file)
@@ -182,7 +182,7 @@ int cmd_clear_session(const ltt_session::locked_ref& session, int *sock_fd)
 
                /* Flag session that trace should start automatically */
                if (usess) {
-                       int int_ret = ust_app_start_trace_all(usess);
+                       const int int_ret = ust_app_start_trace_all(usess);
 
                        if (int_ret < 0) {
                                ret = LTTNG_ERR_UST_START_FAIL;
This page took 0.023547 seconds and 4 git commands to generate.