dtcm: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins
2021-12-22 01:26:51 +00:00
committed by Jon Trulson
parent 85684c337a
commit 2c134302c8
13 changed files with 24 additions and 19 deletions

View File

@@ -339,6 +339,9 @@ _DtCms_closest_tick_v4(time_t target, time_t ftick, Period_4 period, int *ordina
struct tm tm1, tm2;
_Xltimeparams localtime_buf;
tm1.tm_isdst = 0;
tm2.tm_isdst = 0;
if (target <= ftick) {
*ordinal = 1;
return(ftick);