From f1379a657463af6e395b58e8b81c9d1696bfa0e8 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 10 Sep 2014 16:58:48 +0200 Subject: [PATCH] sched: fix Clang warning --- sched.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sched.c b/sched.c index 49cf9a9..7f3fd78 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