diff --git a/lib/checksizeof.h b/lib/checksizeof.h index e1dfd6459..f4327ddd5 100644 --- a/lib/checksizeof.h +++ b/lib/checksizeof.h @@ -64,7 +64,7 @@ public: } /** @brief Run checks against the simplified token list */ - void runSimplifiedChecks(const Tokenizer*, const Settings*, ErrorLogger*) { + void runSimplifiedChecks(const Tokenizer* /*tokenizer*/, const Settings* /*settings*/, ErrorLogger* /*errorLogger*/) { } /** @brief %Check for 'sizeof sizeof ..' */ diff --git a/lib/checkunusedfunctions.h b/lib/checkunusedfunctions.h index 8a6df7963..1b404b3b6 100644 --- a/lib/checkunusedfunctions.h +++ b/lib/checkunusedfunctions.h @@ -87,7 +87,8 @@ private: /** * Dummy implementation, just to provide error for --errorlist */ - void runSimplifiedChecks(const Tokenizer *, const Settings *, ErrorLogger *) {} + void runSimplifiedChecks(const Tokenizer* /*tokenizer*/, const Settings* /*settings*/, ErrorLogger* /*errorLogger*/) { + } static std::string myName() { return "Unused functions";