#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 , 12 years ago
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Oops. This appears to be a duplicate of #4553, which I did not spot due to the less descriptive title on that ticket.