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

index c6b1951e258bc3e9c4fb51e8dd731a97d3938e18..b1eef6badb455ae1150a3c44aef52a325e3f89d7 100644 (file)
@@ -694,7 +694,7 @@ _DtCms_next_tick_v4(time_t tick, Period_4 period)
 extern time_t
 _DtCms_prev_tick_v4(time_t tick, Period_4 period)
 {
-        time_t prev;
+        time_t prev = 0;
        struct tm *tm;
        _Xltimeparams localtime_buf;