rickkas7 / LocalTimeRK

Timezone and DST handling for Particle devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

compile warning in deviceOS@2.3.0

chipmc opened this issue · comments

Still compiles and runs, just letting you know.

'bool LocalTimeSchedule::getNextScheduledTime(LocalTimeConvert&, std::function<bool(LocalTimeScheduleItem&)>) const':
/Users/chipmc/Documents/Maker/Particle/Utilities/SleepHelper-Demo/lib/LocalTimeRK/src/LocalTimeRK.cpp:920:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
920 | if (bResult && closestTime == 0 || tmpConvert.time < closestTime) {