From: Miroslav Lichvar Date: Wed, 10 Sep 2014 14:58:48 +0000 (+0200) Subject: sched: fix Clang warning X-Git-Tag: 1.31~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1379a657463af6e395b58e8b81c9d1696bfa0e8;p=thirdparty%2Fchrony.git sched: fix Clang warning --- diff --git a/sched.c b/sched.c index 49cf9a98..7f3fd787 100644 --- a/sched.c +++ b/sched.c @@ -618,6 +618,8 @@ SCH_MainLoop(void) } else { ptv = NULL; + /* This is needed to fix a compiler warning */ + saved_tv.tv_sec = 0; } /* if there are no file descriptors being waited on and no