Author: loonycyborg
Date: Tue Aug  2 12:41:54 2011
New Revision: 50565

URL: http://svn.gna.org/viewcvs/wesnoth?rev=50565&view=rev
Log:
Fixed compile warnings.

Modified:
    trunk/src/whiteboard/manager.cpp
    trunk/src/whiteboard/visitor.hpp

Modified: trunk/src/whiteboard/manager.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/manager.cpp?rev=50565&r1=50564&r2=50565&view=diff
==============================================================================
--- trunk/src/whiteboard/manager.cpp (original)
+++ trunk/src/whiteboard/manager.cpp Tue Aug  2 12:41:54 2011
@@ -413,10 +413,10 @@
 
        private:
                //"Inherited" from visitor_base
-               bool visit(size_t team_index, team&, side_actions&, 
side_actions::iterator itor)
+               bool visit(size_t /*team_index*/, team&, side_actions&, 
side_actions::iterator itor)
                        { (*itor)->draw_hex(hex_);   return true; }
                //using default pre_visit_team()
-               bool post_visit_team(size_t team_index, team&, side_actions& sa)
+               bool post_visit_team(size_t /*team_index*/, team&, 
side_actions& sa)
                        { sa.get_numbers(hex_,numbers_);   return true; }
 
                map_location const& hex_;

Modified: trunk/src/whiteboard/visitor.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/whiteboard/visitor.hpp?rev=50565&r1=50564&r2=50565&view=diff
==============================================================================
--- trunk/src/whiteboard/visitor.hpp (original)
+++ trunk/src/whiteboard/visitor.hpp Tue Aug  2 12:41:54 2011
@@ -60,9 +60,9 @@
        //bool visit(size_t team_index, team&, side_actions&, 
side_actions::iterator);
 
        ///@return Whether or not to visit any of the contents of sa.
-       bool pre_visit_team(size_t team_index, team& t, side_actions& sa) 
{return !sa.hidden();}
+       bool pre_visit_team(size_t /*team_index*/, team& /*t*/, side_actions& 
sa) {return !sa.hidden();}
        ///@return Whether or not to visit any more teams after this one.
-       bool post_visit_team(size_t team_index, team& t, side_actions& sa) 
{return true;}
+       bool post_visit_team(size_t /*team_index*/, team& /*t*/, side_actions& 
/*sa*/) {return true;}
 
 private:
        template<bool reverse>


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to