mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-12-06 16:03:57 +00:00
lint fix
SCCS-file: zic.c SCCS-SID: 7.113
This commit is contained in:
committed by
Paul Eggert
parent
c1ff4ff5c1
commit
1904e32961
12
zic.c
12
zic.c
@ -1155,10 +1155,14 @@ const int nfields;
|
||||
error(_("time before zero"));
|
||||
return;
|
||||
}
|
||||
if (dayoff < min_time / SECSPERDAY)
|
||||
return min_time;
|
||||
if (dayoff > max_time / SECSPERDAY)
|
||||
return max_time;
|
||||
if (dayoff < min_time / SECSPERDAY) {
|
||||
error(_("time too small"));
|
||||
return;
|
||||
}
|
||||
if (dayoff > max_time / SECSPERDAY) {
|
||||
error(_("time too large"));
|
||||
return;
|
||||
}
|
||||
t = (time_t) dayoff * SECSPERDAY;
|
||||
tod = gethms(fields[LP_TIME], _("invalid time of day"), FALSE);
|
||||
cp = fields[LP_CORR];
|
||||
|
||||
Reference in New Issue
Block a user