From 4e4e91c37d9ff5ffa83731259def166de0db9adb Mon Sep 17 00:00:00 2001 From: Baptiste Wicht Date: Wed, 29 Oct 2014 17:35:42 +0100 Subject: [PATCH] Fix warnings --- src/cxxopts.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) {