Fix clang-tidy cppcoreguidelines-pro-type-const-cast warning
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.cpp
index ef4383ff25a67262c2f6d5157422a916d94a9147..c9924b326190dd4e765ff81af7175bf00a0b1410 100644 (file)
@@ -496,16 +496,14 @@ static enum lttng_error_code list_lttng_ust_global_events(char *channel_name,
                 * We do not care about the filter bytecode and the fd from the
                 * userspace_probe_location.
                 */
-               ret = lttng_event_serialize(
-                       tmp_event,
-                       exclusion_names.size(),
-                       exclusion_names.size() ?
-                               exclusion_names.data() :
-                               nullptr,
-                       uevent->filter_expression,
-                       0,
-                       nullptr,
-                       reply_payload);
+               ret = lttng_event_serialize(tmp_event,
+                                           exclusion_names.size(),
+                                           exclusion_names.size() ? exclusion_names.data() :
+                                                                    nullptr,
+                                           uevent->filter_expression,
+                                           0,
+                                           nullptr,
+                                           reply_payload);
                lttng_event_destroy(tmp_event);
                if (ret) {
                        ret_code = LTTNG_ERR_FATAL;
This page took 0.023513 seconds and 4 git commands to generate.