From 9c94e6638289fd3fe8689ee324a2e4cf9da25ca6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 23 Jan 2009 18:37:28 +0000 Subject: [PATCH] better fix to get rid of compiler warning is to comment the function parameter --- src/cppcheck.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cppcheck.cpp b/src/cppcheck.cpp index 9562fff08..8647f52c9 100644 --- a/src/cppcheck.cpp +++ b/src/cppcheck.cpp @@ -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 }