[Boost-bugs] [Boost C++ Libraries] #7049: "unreferenced parameter" warning

Subject: [Boost-bugs] [Boost C++ Libraries] #7049: "unreferenced parameter" warning
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-29 07:52:05

#7049: "unreferenced parameter" warning
 Reporter: Deniz Bahadir <D.Bahadir@…> | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: program_options
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
 There is an unreferenced parameter which results in a compiler-warning at
 the following location:

 File: "boost/program_options/errors.hpp"
 Line: 253
 Function: "set_option_name"

 The parameter "option_name" is not referenced which results in the
 following compiler-warning in Visual Studio 2010 when compiling one's code
 using program_options:

 ".../boost/program_options/errors.hpp(253): warning C4100: 'option_name' :
 unreferenced formal parameter"

 (In other compilers a similar warning will probably occur.)

 A small patch which fixes the problem is attached.

Ticket URL: <https://svn.boost.org/trac/boost/ticket/7049>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:09 UTC