diff --git a/lib/checkother.cpp b/lib/checkother.cpp index 1c126279586..f671f9f531b 100644 --- a/lib/checkother.cpp +++ b/lib/checkother.cpp @@ -396,8 +396,8 @@ void CheckOther::suspiciousFloatingPointCast() const Token* parent = tok->astParent(); if (!parent || !parent->valueType() || std::find(sourceTypes.begin(), sourceTypes.end(), parent->valueType()->type) == sourceTypes.end()) continue; - - suspiciousFloatingPointCastError(tok); + + suspiciousFloatingPointCastError(tok); } } }