summaryrefslogtreecommitdiffhomepage
path: root/compat/timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compat/timer.cpp')
-rw-r--r--compat/timer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/timer.cpp b/compat/timer.cpp
index b9664263..dcf3f430 100644
--- a/compat/timer.cpp
+++ b/compat/timer.cpp
@@ -120,6 +120,7 @@ void Timer::gettime(timespec* state)
otr_clock_gettime(state);
#elif defined CLOCK_MONOTONIC
const int res = clock_gettime(CLOCK_MONOTONIC, state);
+ (void)res;
assert(res == 0 && "must support CLOCK_MONOTONIC");
#else
# error "timer query method not known"