From: Mikko Johannes Koivunalho Date: Wed, 28 Aug 2019 12:08:09 +0000 (+0200) Subject: Fix indentation X-Git-Tag: 0.13.0~10^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a143aacefe4ad5e643eed70a0842ccde7a282299;p=check Fix indentation Signed-off-by: Mikko Johannes Koivunalho --- 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; }