Fixed Cppcheck warnings
This commit is contained in:
parent
7bb82c5df7
commit
3b39433e21
|
@ -3207,8 +3207,8 @@ void CheckOther::knownArgumentError(const Token *tok, const Token *ftok, const V
|
||||||
}
|
}
|
||||||
|
|
||||||
const MathLib::bigint intvalue = value->intvalue;
|
const MathLib::bigint intvalue = value->intvalue;
|
||||||
const std::string expr = tok->expressionString();
|
const std::string &expr = tok->expressionString();
|
||||||
const std::string fun = ftok->str();
|
const std::string &fun = ftok->str();
|
||||||
|
|
||||||
const char *id;;
|
const char *id;;
|
||||||
std::string errmsg = "Argument '" + expr + "' to function " + fun + " is always " + std::to_string(intvalue) + ". ";
|
std::string errmsg = "Argument '" + expr + "' to function " + fun + " is always " + std::to_string(intvalue) + ". ";
|
||||||
|
|
Loading…
Reference in New Issue