Author: afester Date: Mon Jan 8 12:30:29 2007 New Revision: 494188 URL: http://svn.apache.org/viewvc?view=rev&rev=494188 Log: LOGCXX-14: some more "unused parameter" warnings
Modified: logging/log4cxx/trunk/include/log4cxx/simplelayout.h logging/log4cxx/trunk/performance/nullappender.cpp logging/log4cxx/trunk/src/literalpatternconverter.cpp logging/log4cxx/trunk/tests/src/rolling/sizebasedrollingtest.cpp Modified: logging/log4cxx/trunk/include/log4cxx/simplelayout.h URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/include/log4cxx/simplelayout.h?view=diff&rev=494188&r1=494187&r2=494188 ============================================================================== --- logging/log4cxx/trunk/include/log4cxx/simplelayout.h (original) +++ logging/log4cxx/trunk/include/log4cxx/simplelayout.h Mon Jan 8 12:30:29 2007 @@ -66,9 +66,9 @@ */ bool ignoresThrowable() const { return true; } - virtual void activateOptions(log4cxx::helpers::Pool& p) {} - virtual void setOption(const LogString& option, - const LogString& value) {} + virtual void activateOptions(log4cxx::helpers::Pool& /* p */) {} + virtual void setOption(const LogString& /* option */, + const LogString& /* value */) {} }; } // namespace log4cxx Modified: logging/log4cxx/trunk/performance/nullappender.cpp URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/performance/nullappender.cpp?view=diff&rev=494188&r1=494187&r2=494188 ============================================================================== --- logging/log4cxx/trunk/performance/nullappender.cpp (original) +++ logging/log4cxx/trunk/performance/nullappender.cpp Mon Jan 8 12:30:29 2007 @@ -45,7 +45,7 @@ } } -void NullAppender::append(const LoggingEventPtr& event, Pool& p) +void NullAppender::append(const LoggingEventPtr& /* event */, Pool& /*p*/) { } Modified: logging/log4cxx/trunk/src/literalpatternconverter.cpp URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/src/literalpatternconverter.cpp?view=diff&rev=494188&r1=494187&r2=494188 ============================================================================== --- logging/log4cxx/trunk/src/literalpatternconverter.cpp (original) +++ logging/log4cxx/trunk/src/literalpatternconverter.cpp Mon Jan 8 12:30:29 2007 @@ -43,16 +43,16 @@ } void LiteralPatternConverter::format( - const LoggingEventPtr& event, + const LoggingEventPtr& /* event */, LogString& toAppendTo, - Pool& p) const { + Pool& /* p */) const { toAppendTo.append(literal); } void LiteralPatternConverter::format( - const ObjectPtr& event, + const ObjectPtr& /* event */, LogString& toAppendTo, - Pool& p) const { + Pool& /* p */) const { toAppendTo.append(literal); } Modified: logging/log4cxx/trunk/tests/src/rolling/sizebasedrollingtest.cpp URL: http://svn.apache.org/viewvc/logging/log4cxx/trunk/tests/src/rolling/sizebasedrollingtest.cpp?view=diff&rev=494188&r1=494187&r2=494188 ============================================================================== --- logging/log4cxx/trunk/tests/src/rolling/sizebasedrollingtest.cpp (original) +++ logging/log4cxx/trunk/tests/src/rolling/sizebasedrollingtest.cpp Mon Jan 8 12:30:29 2007 @@ -75,7 +75,7 @@ LogManager::shutdown(); } - void common(LoggerPtr& logger1, int sleep) { + void common(LoggerPtr& logger1, int /*sleep*/) { char msg[] = { 'H', 'e', 'l', 'l', 'o', '-', '-', '-', 'N', 0 }; // Write exactly 10 bytes with each log