diff --git a/src/cxxopts.hpp b/src/cxxopts.hpp index ad36d84..fe77a6b 100644 --- a/src/cxxopts.hpp +++ b/src/cxxopts.hpp @@ -396,7 +396,7 @@ namespace cxxopts inline void - parse_value(const std::string& text, bool& value) + parse_value(const std::string& /*text*/, bool& value) { //TODO recognise on, off, yes, no, enable, disable //so that we can write --long=yes explicitly @@ -915,7 +915,7 @@ void Options::parse_option ( std::shared_ptr value, - const std::string& name, + const std::string& /*name*/, const std::string& arg ) {