Fix compiler warnings
This commit is contained in:
parent
2c73518e29
commit
02a3a01eca
|
@ -1417,6 +1417,8 @@ MathLib::biguint CheckBufferOverrun::countSprintfLength(const std::string &input
|
|||
case 'X':
|
||||
case 'i':
|
||||
i_d_x_f_found = true;
|
||||
handleNextParameter = true;
|
||||
break;
|
||||
case 'c':
|
||||
case 'e':
|
||||
case 'E':
|
||||
|
|
|
@ -265,7 +265,7 @@ Check::FileInfo *CheckUnusedFunctions::getFileInfo(const Tokenizer *tokenizer, c
|
|||
|
||||
}
|
||||
|
||||
void CheckUnusedFunctions::analyseWholeProgram(const std::list<Check::FileInfo*> &fileInfo, ErrorLogger &errorLogger)
|
||||
void CheckUnusedFunctions::analyseWholeProgram(const std::list<Check::FileInfo*> &fileInfo, const Settings& settings, ErrorLogger &errorLogger)
|
||||
{
|
||||
(void)fileInfo;
|
||||
check(&errorLogger);
|
||||
|
|
|
@ -51,7 +51,7 @@ public:
|
|||
Check::FileInfo *getFileInfo(const Tokenizer *tokenizer, const Settings *settings) const;
|
||||
|
||||
/** @brief Analyse all file infos for all TU */
|
||||
void analyseWholeProgram(const std::list<Check::FileInfo*> &fileInfo, ErrorLogger &errorLogger);
|
||||
void analyseWholeProgram(const std::list<Check::FileInfo*> &fileInfo, const Settings& settings, ErrorLogger &errorLogger);
|
||||
|
||||
static CheckUnusedFunctions instance;
|
||||
|
||||
|
|
|
@ -94,6 +94,7 @@ public:
|
|||
|
||||
private:
|
||||
/** No implementation */
|
||||
ScopeGuard();
|
||||
ScopeGuard& operator=(const ScopeGuard &);
|
||||
|
||||
Variables & _guarded;
|
||||
|
|
|
@ -35,6 +35,7 @@ class SymbolDatabase;
|
|||
class CPPCHECKLIB ExecutionPath {
|
||||
private:
|
||||
/** No implementation */
|
||||
ExecutionPath();
|
||||
ExecutionPath& operator=(const ExecutionPath &);
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Reference in New Issue