Miroslav Lichvar pushed to branch master at chrony / chrony


Commits:
ad79aec9 by Miroslav Lichvar at 2024-03-04T11:38:11+01:00
test: avoid C99-style declaration in for loop

This fixes compilation without the -std=c99 option with an older gcc.

- - - - -
b0750136 by Miroslav Lichvar at 2024-03-04T11:38:16+01:00
rtc+getdate: initialize tm_wday for mktime()

Even though mktime() is documented as ignoring the tm_wday field, the
coverity static analyzer complains about passing an uninitialized value.
Set the field to zero to make it happy.

- - - - -


3 changed files:

- getdate.y
- rtc_linux.c
- test/unit/leapdb.c


View it on GitLab: 
https://gitlab.com/chrony/chrony/-/compare/008dc16727dda8fedbb5b67bb83672e1c24565fc...b0750136b50e674e329185925253207fa7c6b333

-- 
View it on GitLab: 
https://gitlab.com/chrony/chrony/-/compare/008dc16727dda8fedbb5b67bb83672e1c24565fc...b0750136b50e674e329185925253207fa7c6b333
You're receiving this email because of your account on gitlab.com.


Reply via email to