Boost logo

Boost-Commit :

From: gennadiy.rozental_at_[hidden]
Date: 2008-07-24 23:29:15


Author: rogeeff
Date: 2008-07-24 23:29:15 EDT (Thu, 24 Jul 2008)
New Revision: 47782
URL: http://svn.boost.org/trac/boost/changeset/47782

Log:
warning clean up
Text files modified:
   trunk/boost/test/utils/runtime/cla/parameter.hpp | 2 +-
   trunk/boost/test/utils/runtime/cla/positional_parameter.hpp | 6 +++---
   trunk/boost/test/utils/runtime/env/fwd.hpp | 4 +++-
   3 files changed, 7 insertions(+), 5 deletions(-)

Modified: trunk/boost/test/utils/runtime/cla/parameter.hpp
==============================================================================
--- trunk/boost/test/utils/runtime/cla/parameter.hpp (original)
+++ trunk/boost/test/utils/runtime/cla/parameter.hpp 2008-07-24 23:29:15 EDT (Thu, 24 Jul 2008)
@@ -87,7 +87,7 @@
     bool responds_to( cstring name ) const { return m_id_policy.responds_to( name ); }
     bool conflict_with( parameter const& p ) const
     {
- return id_2_report() == p.id_2_report() && !id_2_report().is_empty() ||
+ return (id_2_report() == p.id_2_report() && !id_2_report().is_empty()) ||
                m_id_policy.conflict_with( p.m_id_policy ) ||
                p.m_id_policy.conflict_with( m_id_policy );
     }

Modified: trunk/boost/test/utils/runtime/cla/positional_parameter.hpp
==============================================================================
--- trunk/boost/test/utils/runtime/cla/positional_parameter.hpp (original)
+++ trunk/boost/test/utils/runtime/cla/positional_parameter.hpp 2008-07-24 23:29:15 EDT (Thu, 24 Jul 2008)
@@ -38,17 +38,17 @@
     BOOST_RT_PARAM_UNNEEDED_VIRTUAL ~trivial_id_policy() {}
 
     virtual bool responds_to( cstring name ) const { return m_name == name; }
- virtual bool conflict_with( identification_policy const& id ) const { return false; }
+ virtual bool conflict_with( identification_policy const& ) const { return false; }
     virtual cstring id_2_report() const { return m_name; }
     virtual void usage_info( format_stream& fs ) const
     {
         if( !m_name.empty() )
             fs << BOOST_RT_PARAM_LITERAL( '<' ) << m_name << BOOST_RT_PARAM_LITERAL( '>' );
         else
- fs << BOOST_RT_PARAM_CSTRING_LITERAL( "<value>" );;
+ fs << BOOST_RT_PARAM_CSTRING_LITERAL( "<value>" );
     }
 
- virtual bool matching( parameter const& p, argv_traverser& tr, bool primary ) const
+ virtual bool matching( parameter const& p, argv_traverser&, bool primary ) const
     {
         return primary && ( !p.has_argument() || p.p_multiplicable );
     }

Modified: trunk/boost/test/utils/runtime/env/fwd.hpp
==============================================================================
--- trunk/boost/test/utils/runtime/env/fwd.hpp (original)
+++ trunk/boost/test/utils/runtime/env/fwd.hpp 2008-07-24 23:29:15 EDT (Thu, 24 Jul 2008)
@@ -24,6 +24,9 @@
 
 namespace environment {
 
+class variable_base;
+variable_base var( cstring var_name );
+
 namespace rt_env_detail {
 
 struct variable_data;
@@ -36,7 +39,6 @@
 
 }
 
-class variable_base;
 template <typename T> class variable;
 
 } // namespace environment


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