// Some options may take their value from a different data type.
template<class DT>
- void setValue(const DT& V) {}
+ void setValue(const DT& /*V*/) {}
- bool compare(const DataType &V) const { return false; }
+ bool compare(const DataType &/*V*/) const { return false; }
- virtual bool compare(const GenericOptionValue& V) const { return false; }
+ virtual bool compare(const GenericOptionValue& /*V*/) const { return false; }
};
// Simple copy of the option value.
// type than the option value. e.g. HelpPrinter.
template<class ParserDT, class ValDT>
struct OptionDiffPrinter {
- void print(const Option &O, const parser<ParserDT> P, const ValDT &V,
- const OptionValue<ValDT> &Default, size_t GlobalWidth) {
+ void print(const Option &O, const parser<ParserDT> P, const ValDT &/*V*/,
+ const OptionValue<ValDT> &/*Default*/, size_t GlobalWidth) {
P.printOptionNoValue(O, GlobalWidth);
}
};
}
// Unimplemented: list options don't currently store their default value.
- virtual void printOptionValue(size_t GlobalWidth, bool Force) const {}
+ virtual void printOptionValue(size_t /*GlobalWidth*/, bool /*Force*/) const {}
void done() {
addArgument();
}
// Unimplemented: bits options don't currently store their default values.
- virtual void printOptionValue(size_t GlobalWidth, bool Force) const {}
+ virtual void printOptionValue(size_t /*GlobalWidth*/, bool /*Force*/) const {}
void done() {
addArgument();
virtual void printOptionInfo(size_t GlobalWidth) const;
// Aliases do not need to print their values.
- virtual void printOptionValue(size_t GlobalWidth, bool Force) const {}
+ virtual void printOptionValue(size_t /*GlobalWidth*/, bool /*Force*/) const {}
void done() {
if (!hasArgStr())