projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clang-tidy: apply suggested fixes
[lttng-tools.git]
/
src
/
lib
/
lttng-ctl
/
destruction-handle.cpp
diff --git
a/src/lib/lttng-ctl/destruction-handle.cpp
b/src/lib/lttng-ctl/destruction-handle.cpp
index 34f58f7e01187afc2ae5ab1ad326326197abf009..e97364587a103efa70caad6441f289901572f95d 100644
(file)
--- a/
src/lib/lttng-ctl/destruction-handle.cpp
+++ b/
src/lib/lttng-ctl/destruction-handle.cpp
@@
-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.