Silence compiler warning about unused parameter

PKEuS should decide if we can drop the parameter altogether.
This commit is contained in:
Thomas Jarosch 2015-01-07 16:30:30 +01:00
parent 2cb2161c5d
commit 4248c94d87
1 changed files with 1 additions and 0 deletions

View File

@ -267,6 +267,7 @@ bool Suppressions::isSuppressedLocal(const std::string &errorId, const std::stri
std::list<Suppressions::SuppressionEntry> Suppressions::getUnmatchedLocalSuppressions(const std::string &file, bool unusedFunctionChecking) const std::list<Suppressions::SuppressionEntry> Suppressions::getUnmatchedLocalSuppressions(const std::string &file, bool unusedFunctionChecking) const
{ {
(void)unusedFunctionChecking;
std::list<SuppressionEntry> r; std::list<SuppressionEntry> r;
for (std::map<std::string, FileMatcher>::const_iterator i = _suppressions.begin(); i != _suppressions.end(); ++i) { for (std::map<std::string, FileMatcher>::const_iterator i = _suppressions.begin(); i != _suppressions.end(); ++i) {
if (i->first == "unusedFunction") if (i->first == "unusedFunction")