More useful default value

This commit is contained in:
Dmitry-Me 2017-09-01 18:17:40 +03:00
parent 4663dc205a
commit 2133350bf0
1 changed files with 1 additions and 1 deletions

View File

@ -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);