summaryrefslogtreecommitdiffhomepage
path: root/compat/timer.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-07-14 09:00:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-07-14 09:00:55 +0200
commit88103dd3dd5a8bdd70958eea9eac65973941aa87 (patch)
tree4dace2e89dc44c925cb2a0c63344c0203aedd54d /compat/timer.cpp
parent54d5a27c7d89688afe09a7e383001586ac742846 (diff)
fix build
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"