Fix: lttng: initialize variable in run_command_string
[lttng-tools.git] / src / bin / lttng / commands / track-untrack.cpp
index 7db44883bd49bda56f3cabf9521dd9c90dcf8a4f..59b6144232a3efe335d8e7eb980f7a9241573613 100644 (file)
@@ -229,7 +229,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.023332 seconds and 4 git commands to generate.