Ticket #7049: errors.hpp.patch

File errors.hpp.patch, 472 bytes (added by Deniz Bahadir <D.Bahadir@…>, 10 years ago)

Patch that fixes the "unreferenced parameter" warning.

  • errors.hpp

     
    250250        }
    251251
    252252        /** Does NOT set option name, because no option name makes sense */
    253         virtual void set_option_name(const std::string& option_name){}
     253        virtual void set_option_name(const std::string& /* option_name */){}
    254254
    255255        ~error_with_no_option_name() throw() {}
    256256    };