clang-tidy: apply suggested fixes
[lttng-tools.git] / src / bin / lttng-sessiond / condition-internal.cpp
index ee7b4305ad813172d23238a547efd0dc2c033ed6..5cae8677bd9e4e8aebcba60b0f70d1a995772ea6 100644 (file)
@@ -53,7 +53,8 @@ static unsigned long
 lttng_condition_session_consumed_size_hash(const struct lttng_condition *_condition)
 {
        unsigned long hash;
-       unsigned long condition_type = (unsigned long) LTTNG_CONDITION_TYPE_SESSION_CONSUMED_SIZE;
+       const unsigned long condition_type =
+               (unsigned long) LTTNG_CONDITION_TYPE_SESSION_CONSUMED_SIZE;
        struct lttng_condition_session_consumed_size *condition;
        uint64_t val;
 
This page took 0.023499 seconds and 4 git commands to generate.