From 88103dd3dd5a8bdd70958eea9eac65973941aa87 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 14 Jul 2018 09:00:05 +0200 Subject: fix build --- compat/timer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'compat') 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" -- cgit v1.2.3