Boost C++ Libraries: Ticket #4575: boost/algorithm/string/detail/find_format_store.hpp:74: unused parameter 'Input' in template function check_find_result https://svn.boost.org/trac10/ticket/4575 <p> As of <a class="changeset" href="https://svn.boost.org/trac10/changeset/64932" title="Worked around annoying &#34;deprecated&#34; warnings on MSVC.">r64932</a> 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 <span class="underline">type</span> 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. </p> <p> 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4575 Trac 1.4.3 anonymous Fri, 20 Aug 2010 15:47:24 GMT <link>https://svn.boost.org/trac10/ticket/4575#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4575#comment:1</guid> <description> <p> Oops. This appears to be a duplicate of <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4553" title="#4553: Bugs: unreferenced formal parameter compiler warning (closed: fixed)">#4553</a>, which I did not spot due to the less descriptive title on that ticket. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Pavol Droba</dc:creator> <pubDate>Fri, 20 Aug 2010 18:00:04 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/4575#comment:2 https://svn.boost.org/trac10/ticket/4575#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> I will check it out. </p> Ticket Jürgen Hunold Wed, 25 Aug 2010 20:01:41 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4575#comment:3 https://svn.boost.org/trac10/ticket/4575#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/65004" title="Fix #4551,#4553,#4575 by removing unused parameter. ">[65004]</a>) Fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4551" title="#4551: Bugs: Unused parameter &#34;Input&#34; (closed: fixed)">#4551</a>,<a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4553" title="#4553: Bugs: unreferenced formal parameter compiler warning (closed: fixed)">#4553</a>,<a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4575" title="#4575: Bugs: boost/algorithm/string/detail/find_format_store.hpp:74: unused ... (closed: fixed)">#4575</a> by removing unused parameter. </p> Ticket Jürgen Hunold Wed, 01 Sep 2010 16:18:13 GMT <link>https://svn.boost.org/trac10/ticket/4575#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4575#comment:4</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/65168" title="Merge r65004 from trunk Fix #4551,#4553,#4575 by removing unused ...">[65168]</a>) Merge <a class="changeset" href="https://svn.boost.org/trac10/changeset/65004" title="Fix #4551,#4553,#4575 by removing unused parameter. ">r65004</a> from trunk </p> <p> Fix <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4551" title="#4551: Bugs: Unused parameter &#34;Input&#34; (closed: fixed)">#4551</a>,<a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4553" title="#4553: Bugs: unreferenced formal parameter compiler warning (closed: fixed)">#4553</a>,<a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4575" title="#4575: Bugs: boost/algorithm/string/detail/find_format_store.hpp:74: unused ... (closed: fixed)">#4575</a> by removing unused parameter. </p> </description> <category>Ticket</category> </item> </channel> </rss>