Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57704 - in trunk/boost/spirit/home: phoenix/object qi/numeric
From: hartmut.kaiser_at_[hidden]
Date: 2009-11-16 07:26:52


Author: hkaiser
Date: 2009-11-16 07:26:51 EST (Mon, 16 Nov 2009)
New Revision: 57704
URL: http://svn.boost.org/trac/boost/changeset/57704

Log:
Spirit: silencing more unused warnings
Text files modified:
   trunk/boost/spirit/home/phoenix/object/new.hpp | 2 +-
   trunk/boost/spirit/home/qi/numeric/numeric_utils.hpp | 1 +
   2 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/spirit/home/phoenix/object/new.hpp
==============================================================================
--- trunk/boost/spirit/home/phoenix/object/new.hpp (original)
+++ trunk/boost/spirit/home/phoenix/object/new.hpp 2009-11-16 07:26:51 EST (Mon, 16 Nov 2009)
@@ -27,7 +27,7 @@
 
             template <typename RT, typename Env>
             static RT
- eval(Env const& env)
+ eval(Env const& /*env*/)
             {
                 return new T;
             }

Modified: trunk/boost/spirit/home/qi/numeric/numeric_utils.hpp
==============================================================================
--- trunk/boost/spirit/home/qi/numeric/numeric_utils.hpp (original)
+++ trunk/boost/spirit/home/qi/numeric/numeric_utils.hpp 2009-11-16 07:26:51 EST (Mon, 16 Nov 2009)
@@ -26,6 +26,7 @@
     inline bool
     extract_sign(Iterator& first, Iterator const& last)
     {
+ (void)last; // silence unused warnings
         BOOST_ASSERT(first != last); // precondition
 
         // Extract the sign


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