The `path` variable is used in the error message, but never set, so it
will always appear as "(unknown)".
In the future, it would be nice if the error message gave more info to
the user. But right now, it is pointless to keep `path` there, so
remove it.
Change-Id: If55d8246dde8cffe1b584477643f105acaaa4792
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1992
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
int ret = 0;
uint64_t trace_idx;
int64_t trace_count;
int ret = 0;
uint64_t trace_idx;
int64_t trace_count;
- const char *path = NULL;
const bt_value *query_result = NULL;
const bt_value *trace_info = NULL;
const bt_value *intersection_range = NULL;
const bt_value *query_result = NULL;
const bt_value *trace_info = NULL;
const bt_value *intersection_range = NULL;
error:
BT_CLI_LOGE_APPEND_CAUSE(
error:
BT_CLI_LOGE_APPEND_CAUSE(
- "Cannot determine stream intersection of trace: path=\"%s\"",
- path ? path : "(unknown)");
+ "Cannot determine stream intersection of trace.");
end:
bt_value_put_ref(query_result);
end:
bt_value_put_ref(query_result);