better fix to get rid of compiler warning is to comment the function parameter

This commit is contained in:
Daniel Marjamäki 2009-01-23 18:37:28 +00:00
parent 6a523f2730
commit 9c94e66382
1 changed files with 1 additions and 2 deletions

View File

@ -404,9 +404,8 @@ void CppCheck::reportErr(const std::string &errmsg)
_errout << errmsg2 << std::endl;
}
void CppCheck::reportOut(const std::string &outmsg)
void CppCheck::reportOut(const std::string & /*outmsg*/)
{
// This is currently never called. It is here just to comply with
// the interface.
std::string foo = outmsg; // This is just to get rid of compiler warning
}