Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4575 closed Bugs (fixed)

boost/algorithm/string/detail/find_format_store.hpp:74: unused parameter 'Input' in template function check_find_result

Reported by: anonymous Owned by: Pavol Droba
Milestone: To Be Determined Component: string_algo
Version: Boost 1.44.0 Severity: Cosmetic
Keywords: Cc:

Description

As of r64932 file boost/algorithm/string/detail/find_format_store.hpp at template function check_find_result, the parameter 'Input' is not referenced. It is present because the type of Input is used. However, since the parameter itself is not used, Visual Studio 2008 issues warning C4100: unreferenced formal parameter and gcc will issue a warning for -Wunused-parameter.

It would be nice to remove the name of the variable so that users who build with /W4 /WX (VC) or -Wall -Werror (gcc) do not get a build failure.

Change History (4)

comment:1 by anonymous, 12 years ago

Oops. This appears to be a duplicate of #4553, which I did not spot due to the less descriptive title on that ticket.

comment:2 by Pavol Droba, 12 years ago

Status: newassigned

I will check it out.

comment:3 by Jürgen Hunold, 12 years ago

Resolution: fixed
Status: assignedclosed

(In [65004]) Fix #4551,#4553,#4575 by removing unused parameter.

comment:4 by Jürgen Hunold, 12 years ago

(In [65168]) Merge r65004 from trunk

Fix #4551,#4553,#4575 by removing unused parameter.

Note: See TracTickets for help on using tickets.