Opened 15 years ago

Closed 14 years ago

#1677 closed Tasks (fixed)

Unused parameter in grammar.ipp line 83

Reported by: clutter@… Owned by: Joel de Guzman
Milestone: Boost 1.36.0 Component: spirit
Version: Boost 1.34.1 Severity: Cosmetic
Keywords: grammar, warning, parameter, gcc Cc:

Description

Hi,

Line 83 of boost/spirit/core/non_terminal/impl/grammar.ipp declares the parameter x which is not used. This bombs out compilation when using extra warnings as errors on gcc. (-Wall -Wextra -Werror).

Can the parameter name be commented out, please?

From:

      grammar_helper_list& operator=(grammar_helper_list const& x)

To:

      grammar_helper_list& operator=(grammar_helper_list const& /*x*/)

Best Regards,

Change History (2)

comment:1 by Marshall Clow, 14 years ago

If this is the file that now lives in boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp, then I think this is fixed already.

Joel - is that right?

comment:2 by Joel de Guzman, 14 years ago

Resolution: fixed
Status: newclosed

Yes. Closing this now.

Note: See TracTickets for help on using tickets.