From: Peter Howkins Date: Fri, 13 Jul 2018 16:05:42 +0000 (+0100) Subject: dtcm: Coverity 88080 X-Git-Tag: 2.3.0a~135 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b2c67eefae3afe72545eaed0874ab80f2cd8b436;p=oweals%2Fcde.git dtcm: Coverity 88080 --- diff --git a/cde/programs/dtcm/server/repeat.c b/cde/programs/dtcm/server/repeat.c index c6b1951e..b1eef6ba 100644 --- a/cde/programs/dtcm/server/repeat.c +++ b/cde/programs/dtcm/server/repeat.c @@ -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;