1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

dtcm: Coverity 89593

This commit is contained in:
Peter Howkins 2018-07-05 00:05:21 +01:00
parent caee0e9cb5
commit 547cc3e22b

View file

@ -860,7 +860,7 @@ _GetNextActiveTick(
time_t lasttick,
RepeatEvent *re)
{
RepeatEventState *restate;
RepeatEventState *restate = NULL;
time_t tick;
for (tick = ClosestTick(target, entry->key.time, re, &restate);
@ -870,6 +870,8 @@ _GetNextActiveTick(
if (tick <= 0 || !_DtCmsInExceptionList(entry, tick))
break;
}
free(restate);
return (tick);
}