Fix: lttng: initialize variable in run_command_string
[lttng-tools.git] / src / bin / lttng / commands / track-untrack.c
index e796aa97c448da5ebde65f908b4456a56dbb680a..0ae1a6917a7b01a3c5a1bbdc34beefb90efbecee 100644 (file)
@@ -230,7 +230,7 @@ static enum cmd_error_code run_command_string(enum cmd_type cmd_type,
                const char *_args,
                struct mi_writer *writer)
 {
-       struct lttng_process_attr_tracker_handle *tracker_handle;
+       struct lttng_process_attr_tracker_handle *tracker_handle = NULL;
        const enum lttng_error_code handle_ret_code =
                        lttng_session_get_tracker_handle(session_name,
                                        domain_type, process_attr,
This page took 0.022946 seconds and 4 git commands to generate.