Apply readability-simplify-boolean-expr

This commit is contained in:
Flössie
2016-10-12 20:01:30 +02:00
parent 19de9d1efa
commit aeaff29ac0
18 changed files with 53 additions and 85 deletions

View File

@@ -570,7 +570,7 @@ std::string ImageMetaData::expcompToString (double expcomp, bool maskZeroexpcomp
char buffer[256];
if (maskZeroexpcomp == true) {
if (maskZeroexpcomp) {
if (expcomp != 0.0) {
sprintf (buffer, "%0.2f", expcomp);
return buffer;