fixed Clang warnings about unused variables (#2554)

This commit is contained in:
Oliver Stöneberg 2020-02-26 14:52:43 +01:00 committed by GitHub
parent fbde4aa13a
commit 1863ccb0a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 3 deletions

View File

@ -275,7 +275,6 @@ namespace clangimport {
int mFile = 0; int mFile = 0;
int mLine = 1; int mLine = 1;
int mCol = 1; int mCol = 1;
int mVarId = 0;
std::vector<std::string> mExtTokens; std::vector<std::string> mExtTokens;
Data *mData; Data *mData;
}; };

View File

@ -103,8 +103,6 @@
#include <stack> #include <stack>
#include <vector> #include <vector>
static const int TIMEOUT = 10; // Do not repeat ValueFlow analysis more than 10 seconds
static void bailoutInternal(TokenList *tokenlist, ErrorLogger *errorLogger, const Token *tok, const std::string &what, const std::string &file, int line, const std::string &function) static void bailoutInternal(TokenList *tokenlist, ErrorLogger *errorLogger, const Token *tok, const std::string &what, const std::string &file, int line, const std::string &function)
{ {
std::list<ErrorLogger::ErrorMessage::FileLocation> callstack(1, ErrorLogger::ErrorMessage::FileLocation(tok, tokenlist)); std::list<ErrorLogger::ErrorMessage::FileLocation> callstack(1, ErrorLogger::ErrorMessage::FileLocation(tok, tokenlist));