X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fmi-lttng.c;h=5160e0a58b953c6bfad0bb7782e852dad1e0a1cc;hp=bd5049efea8b8b88b5b833ad98763a58305a884c;hb=a92b6bcc41bafdf600ec412ce8e7c789121426d4;hpb=ab5be9fa2eb5ba9600a82cd18fd3cfcbac69169a diff --git a/src/common/mi-lttng.c b/src/common/mi-lttng.c index bd5049efe..5160e0a58 100644 --- a/src/common/mi-lttng.c +++ b/src/common/mi-lttng.c @@ -17,7 +17,7 @@ #include -#define MI_SCHEMA_MAJOR_VERSION 3 +#define MI_SCHEMA_MAJOR_VERSION 4 #define MI_SCHEMA_MINOR_VERSION 0 /* Machine interface namespace URI */ @@ -1743,9 +1743,6 @@ int mi_lttng_id_target(struct mi_writer *writer, ret = -LTTNG_ERR_INVALID; goto end; } - if (ret) { - goto end; - } if (!is_open) { ret = mi_lttng_writer_close_element(writer);