Clang import; fix Cppcheck warnings about unused variables

This commit is contained in:
Daniel Marjamäki 2020-01-08 18:55:28 +01:00
parent 54a9b61329
commit 5ffd6d744c
1 changed files with 0 additions and 1 deletions

View File

@ -375,7 +375,6 @@ Token *clangastdump::AstNode::createTokens(TokenList *tokenList)
}
if (nodeType == FunctionDecl) {
SymbolDatabase *symbolDatabase = mData->mSymbolDatabase;
std::string name, rettype;
const int nameIndex = (mExtTokens.back() == "extern") ?
(mExtTokens.size() - 3) :
(mExtTokens.size() - 2);