clang-tidy: apply suggested fixes
[lttng-tools.git] / src / lib / lttng-ctl / destruction-handle.cpp
index 34f58f7e01187afc2ae5ab1ad326326197abf009..e97364587a103efa70caad6441f289901572f95d 100644 (file)
@@ -235,7 +235,7 @@ lttng_destruction_handle_wait_for_completion(struct lttng_destruction_handle *ha
                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_DESTRUCTION_HANDLE_STATUS_ERROR;
                        goto end;
This page took 0.024015 seconds and 4 git commands to generate.