<xloctime>: Silence CodeQL warning SM03231 about leap years, again by StephanTLavavej · Pull Request #5711 · microsoft/STL (original) (raw)
Followup to #5625. Fixes internal VSO-2566953.
Previously, I silenced "Year field changed using an arithmetic operation without checking for leap year" for all of the locations that were performing arithmetic. Now we've got a new round of warnings, same opaque ID SM03231 but a different message "Field tm_year on variable _Pt has been modified, but no appropriate check for LeapYear was found", so we need to suppress every line modifying tm_year.
Once again it's time to quote:
"I remember that we cleared this world out. We won. Is a future coming in which we will, eventually, truly, have won?"
- Ra (Abstract Weapon) by qntm