# HG changeset patch # User Andrew Hundt # Date 2012-12-17 20:14:40 -0500 # Node ID 6a0ff2dcf61a4cbadac5192fadca7eb33e30a2fa # Parent a1c3bfd2fb8101eaa0f16502c2aed4fb78de77ff fixed boost/program_options/errors.hpp:253: warning: unused parameter ‘option_name’ diff --git a/boost/program_options/errors.hpp b/boost/program_options/errors.hpp --- a/boost/program_options/errors.hpp +++ b/boost/program_options/errors.hpp @@ -250,7 +250,7 @@ } /** Does NOT set option name, because no option name makes sense */ - virtual void set_option_name(const std::string& option_name){} + virtual void set_option_name(const std::string& /*option_name*/){} ~error_with_no_option_name() throw() {} };