diff --git a/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModificationGood.c b/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModificationGood.c index c73a8f0118a..e78ecab1112 100644 --- a/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModificationGood.c +++ b/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModificationGood.c @@ -2,7 +2,7 @@ SYSTEMTIME st; FILETIME ft; GetSystemTime(&st); -// Flawed logic will result in invalid date +// Flawed logic may result in invalid date st.wYear++; // Check for leap year, and adjust the date accordingly @@ -12,4 +12,4 @@ st.wDay = st.wMonth == 2 && st.wDay == 29 && !isLeapYear ? 28 : st.wDay; if (!SystemTimeToFileTime(&st, &ft)) { // handle error -} \ No newline at end of file +}