From 0fc35c1350666dc19582726c85693ed080540a63 Mon Sep 17 00:00:00 2001 From: Ayaz Salikhov Date: Thu, 7 Sep 2017 13:59:53 +0300 Subject: [PATCH] Name all params (#956) --- lib/checksizeof.h | 2 +- lib/checkunusedfunctions.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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";