Clang import; fix Cppcheck warnings about unused variables
This commit is contained in:
parent
54a9b61329
commit
5ffd6d744c
|
@ -375,7 +375,6 @@ Token *clangastdump::AstNode::createTokens(TokenList *tokenList)
|
||||||
}
|
}
|
||||||
if (nodeType == FunctionDecl) {
|
if (nodeType == FunctionDecl) {
|
||||||
SymbolDatabase *symbolDatabase = mData->mSymbolDatabase;
|
SymbolDatabase *symbolDatabase = mData->mSymbolDatabase;
|
||||||
std::string name, rettype;
|
|
||||||
const int nameIndex = (mExtTokens.back() == "extern") ?
|
const int nameIndex = (mExtTokens.back() == "extern") ?
|
||||||
(mExtTokens.size() - 3) :
|
(mExtTokens.size() - 3) :
|
||||||
(mExtTokens.size() - 2);
|
(mExtTokens.size() - 2);
|
||||||
|
|
Loading…
Reference in New Issue