Name all params (#956)

This commit is contained in:
Ayaz Salikhov 2017-09-07 13:59:53 +03:00 committed by Daniel Marjamäki
parent 76dc828e24
commit 0fc35c1350
2 changed files with 3 additions and 2 deletions

View File

@ -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 ..' */

View File

@ -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";