Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2007-09-05 03:20:31


Author: eric_niebler
Date: 2007-09-05 03:20:28 EDT (Wed, 05 Sep 2007)
New Revision: 39127
URL: http://svn.boost.org/trac/boost/changeset/39127

Log:
remove more unnamed variables
Text files modified:
   branches/proto/v3/boost/xpressive/detail/core/matcher/action_matcher.hpp | 6 +++---
   branches/proto/v3/boost/xpressive/detail/static/transforms/as_action.hpp | 6 +++---
   branches/proto/v3/boost/xpressive/detail/static/transforms/as_independent.hpp | 6 +++---
   branches/proto/v3/boost/xpressive/detail/static/transforms/as_quantifier.hpp | 2 +-
   branches/proto/v3/boost/xpressive/detail/static/transforms/as_set.hpp | 2 +-
   branches/proto/v3/boost/xpressive/traits/c_regex_traits.hpp | 2 +-
   6 files changed, 12 insertions(+), 12 deletions(-)

Modified: branches/proto/v3/boost/xpressive/detail/core/matcher/action_matcher.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/detail/core/matcher/action_matcher.hpp (original)
+++ branches/proto/v3/boost/xpressive/detail/core/matcher/action_matcher.hpp 2007-09-05 03:20:28 EDT (Wed, 05 Sep 2007)
@@ -236,7 +236,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
- call(Expr const &expr, State const &state, Visitor &visitor)
+ call(Expr const &, State const &state, Visitor &visitor)
         {
             sub_match<typename State::iterator> const &sub = state.sub_matches_[ visitor ];
             return proto::as_expr(sub);
@@ -306,7 +306,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
- call(Expr const &expr, State const &state, Visitor &)
+ call(Expr const &, State const &state, Visitor &)
         {
             typedef typename Expr::proto_arg0::matcher_type::value_type::second_type attr_type;
             int slot = typename Expr::proto_arg0::nbr_type();
@@ -359,7 +359,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
- call(Expr const &expr, State const &state, Visitor &)
+ call(Expr const &expr, State const &, Visitor &)
         {
             return apply<Expr, State, Visitor>::type::make(proto::arg(expr));
         }

Modified: branches/proto/v3/boost/xpressive/detail/static/transforms/as_action.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/detail/static/transforms/as_action.hpp (original)
+++ branches/proto/v3/boost/xpressive/detail/static/transforms/as_action.hpp 2007-09-05 03:20:28 EDT (Wed, 05 Sep 2007)
@@ -63,7 +63,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
- call(Expr const &expr, State const &state, Visitor &visitor)
+ call(Expr const &expr, State const &, Visitor &)
         {
             return proto::as_expr(proto::arg(expr));
         }
@@ -102,7 +102,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
- call(Expr const &expr, State const &state, Visitor &visitor)
+ call(Expr const &, State const &, Visitor &)
         {
             typename apply<Expr, State, Visitor>::type that = {{}};
             return that;
@@ -183,7 +183,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
- call(Expr const &expr, State const &state, Visitor &visitor)
+ call(Expr const &expr, State const &, Visitor &visitor)
         {
             return typename apply<Expr, State, Visitor>::type(
                 Expr::proto_arg0::proto_arg0::nbr_type::value

Modified: branches/proto/v3/boost/xpressive/detail/static/transforms/as_independent.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/detail/static/transforms/as_independent.hpp (original)
+++ branches/proto/v3/boost/xpressive/detail/static/transforms/as_independent.hpp 2007-09-05 03:20:28 EDT (Wed, 05 Sep 2007)
@@ -38,7 +38,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
- call(Expr const &expr, State const &state, Visitor &visitor)
+ call(Expr const &expr, State const &, Visitor &visitor)
         {
             return typename apply<Expr, State, Visitor>::type(
                 Grammar::call(expr, true_xpression(), visitor)
@@ -63,7 +63,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
- call(Expr const &expr, State const &state, Visitor &visitor)
+ call(Expr const &expr, State const &, Visitor &visitor)
         {
             typename Grammar::template apply<Expr, true_xpression, Visitor>::type const &
                 expr2 = Grammar::call(expr, true_xpression(), visitor);
@@ -88,7 +88,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
- call(Expr const &expr, State const &state, Visitor &visitor)
+ call(Expr const &expr, State const &, Visitor &visitor)
         {
             return typename apply<Expr, State, Visitor>::type(
                 Grammar::call(expr, true_xpression(), visitor)

Modified: branches/proto/v3/boost/xpressive/detail/static/transforms/as_quantifier.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/detail/static/transforms/as_quantifier.hpp (original)
+++ branches/proto/v3/boost/xpressive/detail/static/transforms/as_quantifier.hpp 2007-09-05 03:20:28 EDT (Wed, 05 Sep 2007)
@@ -199,7 +199,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
- call(Expr const &expr, State const &state, Visitor &visitor)
+ call(Expr const &expr, State const &, Visitor &visitor)
         {
             return typename apply<Expr, State, Visitor>::type(
                 Grammar::call(expr, alternate_end_xpression(), visitor)

Modified: branches/proto/v3/boost/xpressive/detail/static/transforms/as_set.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/detail/static/transforms/as_set.hpp (original)
+++ branches/proto/v3/boost/xpressive/detail/static/transforms/as_set.hpp 2007-09-05 03:20:28 EDT (Wed, 05 Sep 2007)
@@ -254,7 +254,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
- call(Expr const &expr, State const &state, Visitor &visitor)
+ call(Expr const &expr, State const &, Visitor &visitor)
         {
             typedef typename apply<Expr, State, Visitor>::type set_type;
             set_type matcher;

Modified: branches/proto/v3/boost/xpressive/traits/c_regex_traits.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/traits/c_regex_traits.hpp (original)
+++ branches/proto/v3/boost/xpressive/traits/c_regex_traits.hpp 2007-09-05 03:20:28 EDT (Wed, 05 Sep 2007)
@@ -143,7 +143,7 @@
     /// Checks two c_regex_traits objects for inequality
     ///
     /// \return false.
- bool operator !=(c_regex_traits<char_type> const &that) const
+ bool operator !=(c_regex_traits<char_type> const &) const
     {
         return false;
     }


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