More useful default value
This commit is contained in:
parent
4663dc205a
commit
2133350bf0
|
@ -1966,7 +1966,7 @@ static bool isStdMoveOrStdForwarded(Token * tok, ValueFlow::Value::MoveKind * mo
|
|||
if (tok->str() != "std")
|
||||
return false;
|
||||
bool isMovedOrForwarded = false;
|
||||
ValueFlow::Value::MoveKind kind = ValueFlow::Value::MovedVariable;
|
||||
ValueFlow::Value::MoveKind kind = ValueFlow::Value::NonMovedVariable;
|
||||
Token * variableToken = nullptr;
|
||||
if (Token::Match(tok, "std :: move ( %var% )")) {
|
||||
variableToken = tok->tokAt(4);
|
||||
|
|
Loading…
Reference in New Issue