Boost logo

Boost-Commit :

From: caleb.epstein_at_[hidden]
Date: 2007-09-14 13:18:03


Author: cepstein
Date: 2007-09-14 13:18:02 EDT (Fri, 14 Sep 2007)
New Revision: 39274
URL: http://svn.boost.org/trac/boost/changeset/39274

Log:
Quiet unused argument warnings from gcc.

Text files modified:
   trunk/boost/date_time/format_date_parser.hpp | 2 +-
   trunk/boost/date_time/time_facet.hpp | 2 +-
   trunk/boost/range/as_literal.hpp | 2 +-
   3 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/date_time/format_date_parser.hpp
==============================================================================
--- trunk/boost/date_time/format_date_parser.hpp (original)
+++ trunk/boost/date_time/format_date_parser.hpp 2007-09-14 13:18:02 EDT (Fri, 14 Sep 2007)
@@ -87,7 +87,7 @@
 inline
 int_type
 var_string_to_int(std::istreambuf_iterator<charT>& itr,
- std::istreambuf_iterator<charT>& stream_end,
+ std::istreambuf_iterator<charT>& /* stream_end */,
                   unsigned int max_length)
 {
   typedef std::basic_string<charT> string_type;

Modified: trunk/boost/date_time/time_facet.hpp
==============================================================================
--- trunk/boost/date_time/time_facet.hpp (original)
+++ trunk/boost/date_time/time_facet.hpp 2007-09-14 13:18:02 EDT (Fri, 14 Sep 2007)
@@ -197,7 +197,7 @@
 #endif
 
     //! sets default formats for ptime, local_date_time, and time_duration
- explicit time_facet(::size_t a_ref = 0)
+ explicit time_facet(::size_t /* a_ref */ = 0)
       //: base_type(standard_format),
       : base_type(default_time_format),
         m_time_duration_format(string_type(duration_sign_negative_only) + default_time_duration_format)

Modified: trunk/boost/range/as_literal.hpp
==============================================================================
--- trunk/boost/range/as_literal.hpp (original)
+++ trunk/boost/range/as_literal.hpp 2007-09-14 13:18:02 EDT (Fri, 14 Sep 2007)
@@ -66,7 +66,7 @@
         }
         
         template< class T >
- inline long is_char_ptr( T r )
+ inline long is_char_ptr( T /* r */ )
         {
             return 0L;
         }


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk