fixed Clang warnings about unused variables (#2554)
This commit is contained in:
parent
fbde4aa13a
commit
1863ccb0a7
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue