Clean-up: mark lttng_error_query communication header as const
[lttng-tools.git] / src / common / error-query.c
index 38f47c224da98d67c45c28a9019dab19cfadfcb2..7b0872d90407a7d59f3a8b50c9b99d2633dc3326 100644 (file)
@@ -745,7 +745,7 @@ int lttng_error_query_serialize(const struct lttng_error_query *query,
                struct lttng_payload *payload)
 {
        int ret;
-       struct lttng_error_query_comm header = {
+       const struct lttng_error_query_comm header = {
                .target_type = (typeof(header.target_type)) query->target_type,
        };
 
This page took 0.023344 seconds and 4 git commands to generate.