From a143aacefe4ad5e643eed70a0842ccde7a282299 Mon Sep 17 00:00:00 2001 From: Mikko Johannes Koivunalho Date: Wed, 28 Aug 2019 14:08:09 +0200 Subject: [PATCH] Fix indentation Signed-off-by: Mikko Johannes Koivunalho --- src/check.c | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/check.c b/src/check.c index 766884b..c6cd22a 100644 --- a/src/check.c +++ b/src/check.c @@ -609,21 +609,20 @@ clockid_t check_get_clockid() * will result in an assert(0). */ #ifdef HAVE_LIBRT - timer_t timerid; + timer_t timerid; - if(timer_create(CLOCK_MONOTONIC, NULL, &timerid) == 0) - { - timer_delete(timerid); - clockid = CLOCK_MONOTONIC; - } - else - { - clockid = CLOCK_REALTIME; - } -#else + if(timer_create(CLOCK_MONOTONIC, NULL, &timerid) == 0) + { + timer_delete(timerid); clockid = CLOCK_MONOTONIC; -#endif } + else + { + clockid = CLOCK_REALTIME; + } +#else + clockid = CLOCK_MONOTONIC; +#endif return clockid; } -- 2.40.0