clang-tidy: apply suggested fixes
[lttng-tools.git] / src / bin / lttng-sessiond / sessiond-config.cpp
index e8aeae8efbddb4e805f8ed90fa2a9b9b9ff80b20..037488b8a86c96f97660b3b8810337051190619e 100644 (file)
@@ -236,7 +236,7 @@ end:
 int sessiond_config_init(struct sessiond_config *config)
 {
        int ret;
-       bool is_root = (getuid() == 0);
+       const bool is_root = (getuid() == 0);
        char *str;
 
        LTTNG_ASSERT(config);
This page took 0.022595 seconds and 4 git commands to generate.