diff --git a/lib/clangimport.cpp b/lib/clangimport.cpp index 462db07d5..b792b7d28 100644 --- a/lib/clangimport.cpp +++ b/lib/clangimport.cpp @@ -275,7 +275,6 @@ namespace clangimport { int mFile = 0; int mLine = 1; int mCol = 1; - int mVarId = 0; std::vector mExtTokens; Data *mData; }; diff --git a/lib/valueflow.cpp b/lib/valueflow.cpp index 8906ae7d1..7abc73a78 100644 --- a/lib/valueflow.cpp +++ b/lib/valueflow.cpp @@ -103,8 +103,6 @@ #include #include -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) { std::list callstack(1, ErrorLogger::ErrorMessage::FileLocation(tok, tokenlist));