[chrony-dev] [Git][chrony/chrony][master] 2 commits: test: avoid C99-style declaration in for loop

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Title: GitLab

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:



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/