clang-tidy: apply suggested fixes
[lttng-tools.git] / tests / unit / test_relayd_backward_compat_group_by_session.cpp
index 527d41ac920041bc0c8631f137aa0d70be442878..7c63da872e212f6ef026822fb2720a7fc9c1b901 100644 (file)
@@ -175,7 +175,7 @@ end:
 int main()
 {
        int i;
-       int num_test = sizeof(tests) / sizeof(struct test);
+       const int num_test = sizeof(tests) / sizeof(struct test);
        const time_t test_time = time(nullptr);
 
        plan_tests(NUM_TESTS_PER_TEST * num_test);
This page took 0.023046 seconds and 4 git commands to generate.