clock: check condition before calculation
commitfa1d0ea16d1d519523519592a58e0ba5fa473c4f
authorZhao Zhili <quinkblack@foxmail.com>
Wed, 20 May 2020 15:28:04 +0000 (20 23:28 +0800)
committerThomas Guillem <thomas@gllm.fr>
Fri, 22 May 2020 06:57:03 +0000 (22 08:57 +0200)
tree6731090bd662386b1dabf8e200f7d7e1547fe30a
parent1e23e470e7d59e0376ba861fb83e5c0c92a40de2
clock: check condition before calculation

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
src/clock/clock.c