According to my understanding, the style warning is correct.
You can safely omit the "temp>=152" condition and get the same behavior on all input values.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hiii there,
For the code below Cppcheck 2.6 reports something wrong:
Report : (style) Condition 'temp>=152' is always true
According to my understanding, the style warning is correct.
You can safely omit the "temp>=152" condition and get the same behavior on all input values.
Oh yes👍
That was my bad.