Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67658 - in trunk/boost/msm: back front/euml
From: christophe.j.henry_at_[hidden]
Date: 2011-01-04 16:09:40


Author: chenry
Date: 2011-01-04 16:09:26 EST (Tue, 04 Jan 2011)
New Revision: 67658
URL: http://svn.boost.org/trac/boost/changeset/67658

Log:
fixed gcc warnings
Text files modified:
   trunk/boost/msm/back/state_machine.hpp | 4 ++--
   trunk/boost/msm/front/euml/common.hpp | 2 +-
   2 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/msm/back/state_machine.hpp
==============================================================================
--- trunk/boost/msm/back/state_machine.hpp (original)
+++ trunk/boost/msm/back/state_machine.hpp 2011-01-04 16:09:26 EST (Tue, 04 Jan 2011)
@@ -714,7 +714,7 @@
         typedef T2 next_state_type;
 
         // Take the transition action and return the next state.
- static HandledEnum execute(library_sm& fsm, int region_index, int state, transition_event const& evt)
+ static HandledEnum execute(library_sm& fsm, int , int state, transition_event const& evt)
         {
             BOOST_STATIC_CONSTANT(int, current_state = (get_state_id<stt,current_state_type>::type::value));
             BOOST_ASSERT(state == (current_state));
@@ -770,7 +770,7 @@
             return false;
         }
         // Take the transition action and return the next state.
- static HandledEnum execute(library_sm& fsm, int region_index, int state, transition_event const& evt)
+ static HandledEnum execute(library_sm& fsm, int , int state, transition_event const& evt)
         {
             if (!check_guard(fsm,evt))
             {

Modified: trunk/boost/msm/front/euml/common.hpp
==============================================================================
--- trunk/boost/msm/front/euml/common.hpp (original)
+++ trunk/boost/msm/front/euml/common.hpp 2011-01-04 16:09:26 EST (Tue, 04 Jan 2011)
@@ -351,7 +351,7 @@
         return true;
     }
     template <class EVT,class FSM,class SourceState,class TargetState>
- bool operator()(EVT const& evt ,FSM& ,SourceState& ,TargetState&)const
+ bool operator()(EVT const& ,FSM& ,SourceState& ,TargetState&)const
     {
         // does nothing
         return true;


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