compile warning in deviceOS@2.3.0
chipmc opened this issue · comments
Chip McClelland commented
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) {