[apt-1.5/methods/http.cc:369]: (style) Comparison of a function returning boolean value using relational (<, >, <= or >=) operator. [apt-1.5/methods/http.cc:377]: (style) Comparison of a function returning boolean value using relational (<, >, <= or >=) operator. [apt-1.5/methods/http.cc:394]: (style) Comparison of a function returning boolean value using relational (<, >, <= or >=) operator. The source code for the first one: while (Out.WriteSpace() > 0)
Control: severity -1 minor What did you check that with? Anyway, it's true, but a minor cosmetic issue. It probably makes sense to either change WriteSpace() to return the free space, or to change the conditions to remove > 0.
A static analyser for C and C++ called cppcheck. Indeed, that's why it is marked as a style issue.