clang-tidy: apply suggested fixes
[lttng-tools.git] / src / lib / lttng-ctl / clear.cpp
index 61b2e5041f7bb44f5ee19f28bbb864a329c1d218..49ab6cdf16076fbe5862eb8427acc0403d8a73a9 100644 (file)
@@ -180,7 +180,7 @@ lttng_clear_handle_wait_for_completion(struct lttng_clear_handle *handle, int ti
                goto end;
        }
        if (has_timeout) {
-               int ret = lttng_clock_gettime(CLOCK_MONOTONIC, &initial_time);
+               const int ret = lttng_clock_gettime(CLOCK_MONOTONIC, &initial_time);
                if (ret) {
                        status = LTTNG_CLEAR_HANDLE_STATUS_ERROR;
                        goto end;
This page took 0.023959 seconds and 4 git commands to generate.