Commit 4e4e91c37d9ff5ffa83731259def166de0db9adb
1 parent
0639e086
Fix warnings
Showing
1 changed file
with
2 additions
and
2 deletions
src/cxxopts.hpp
| @@ -396,7 +396,7 @@ namespace cxxopts | @@ -396,7 +396,7 @@ namespace cxxopts | ||
| 396 | 396 | ||
| 397 | inline | 397 | inline |
| 398 | void | 398 | void |
| 399 | - parse_value(const std::string& text, bool& value) | 399 | + parse_value(const std::string& /*text*/, bool& value) |
| 400 | { | 400 | { |
| 401 | //TODO recognise on, off, yes, no, enable, disable | 401 | //TODO recognise on, off, yes, no, enable, disable |
| 402 | //so that we can write --long=yes explicitly | 402 | //so that we can write --long=yes explicitly |
| @@ -915,7 +915,7 @@ void | @@ -915,7 +915,7 @@ void | ||
| 915 | Options::parse_option | 915 | Options::parse_option |
| 916 | ( | 916 | ( |
| 917 | std::shared_ptr<OptionDetails> value, | 917 | std::shared_ptr<OptionDetails> value, |
| 918 | - const std::string& name, | 918 | + const std::string& /*name*/, |
| 919 | const std::string& arg | 919 | const std::string& arg |
| 920 | ) | 920 | ) |
| 921 | { | 921 | { |