We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b093b6 commit aedb0b2Copy full SHA for aedb0b2
1 file changed
src/timer.cc
@@ -297,7 +297,7 @@ int Timer::CalcTimeDiff(int year, int month) {
297
int time = std::min(year,0) * cyclusYear + std::min(month,0) * cyclusMonth;
298
299
// if time is 0, then invalid combination of year and month were given
300
- if time == 0 {
+ if (time == 0) {
301
CLOG(LEV_WARN) << "Invalid year and month combination given to Timer::CalcTimeDiff. Returning 0. "
302
"Year: " << year << " Month: " << month;
303
0 commit comments