diff --git a/lib/checkcondition.cpp b/lib/checkcondition.cpp index c48f716a8f34..ffb83818c7cc 100644 --- a/lib/checkcondition.cpp +++ b/lib/checkcondition.cpp @@ -1318,6 +1318,7 @@ void CheckCondition::checkIncorrectLogicOperator() const std::string text = cond1str + " " + tok->str() + " " + cond2str; incorrectLogicOperatorError(tok, text, alwaysTrue, inconclusive, std::move(errorPath)); } else if (printStyle && (firstTrue || secondTrue)) { + // cppcheck-suppress accessMoved - TODO: FP - see #12174 const int which = isfloat ? sufficientCondition(std::move(op1), not1, d1, std::move(op2), not2, d2, isAnd) : sufficientCondition(std::move(op1), not1, i1, std::move(op2), not2, i2, isAnd); std::string text; if (which != 0) {