Try to fix Cppcheck self-check warnings
This commit is contained in:
parent
203d6ebe5a
commit
dc230d18ef
|
@ -660,7 +660,7 @@ Scope *clangimport::AstNode::createScope(TokenList *tokenList, Scope::ScopeType
|
|||
if (replaceVar.find(&(*var)) != replaceVar.end())
|
||||
varlist.erase(var++);
|
||||
else
|
||||
var++;
|
||||
++var;
|
||||
}
|
||||
}
|
||||
scope->bodyStart = addtoken(tokenList, "{");
|
||||
|
|
|
@ -246,6 +246,8 @@ public:
|
|||
|
||||
~Variable();
|
||||
|
||||
Variable &operator=(const Variable &var) = delete;
|
||||
|
||||
/**
|
||||
* Get name token.
|
||||
* @return name token
|
||||
|
|
Loading…
Reference in New Issue