Open
Description
GCC now will warn about this, preventing compilation with all warnings enabled.
IRLib2/IRLib2/IRLibDecodeBase.cpp
Line 56 in 514db05
@cyborg5 -- Is this code intended to be:
if(interval>0) {
LowSpace=min(LowSpace, interval);
HiSpace=max (HiSpace, interval);
}
It is clearly formatted to suggest the entire line is gated by the if statement. However, the current code (if formatted more commonly) resolves as:
if(interval>0) {
LowSpace=min(LowSpace, interval);
}
HiSpace=max (HiSpace, interval);
Thanks for helping know which code is the correct fix!
Metadata
Metadata
Assignees
Labels
No labels