Skip to content

Commit aedb0b2

Browse files
committed
fix syntax issue
1 parent 2b093b6 commit aedb0b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/timer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ int Timer::CalcTimeDiff(int year, int month) {
297297
int time = std::min(year,0) * cyclusYear + std::min(month,0) * cyclusMonth;
298298

299299
// if time is 0, then invalid combination of year and month were given
300-
if time == 0 {
300+
if (time == 0) {
301301
CLOG(LEV_WARN) << "Invalid year and month combination given to Timer::CalcTimeDiff. Returning 0. "
302302
"Year: " << year << " Month: " << month;
303303

0 commit comments

Comments
 (0)