Silence compiler warning about unused parameter
PKEuS should decide if we can drop the parameter altogether.
This commit is contained in:
parent
2cb2161c5d
commit
4248c94d87
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue