dtcm: Coverity 89686
authorPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 16:29:29 +0000 (17:29 +0100)
committerPeter Howkins <flibble@users.sf.net>
Fri, 13 Jul 2018 16:29:29 +0000 (17:29 +0100)
cde/programs/dtcm/server/repeat.c

index 2314d92dee4a6ec8e7b6b514de09ac30f3d3b9a3..d86eeb93603b002dd190b59f694248cd25269fdf 100644 (file)
@@ -632,7 +632,7 @@ _DtCms_last_tick_v4(time_t ftick, Period_4 period, int ntimes)
 extern time_t
 _DtCms_next_tick_v4(time_t tick, Period_4 period)
 {
-        time_t next;
+        time_t next = 0;
        struct tm *tm;
        _Xltimeparams localtime_buf;