mail[Wesnoth-commits] r34300 - /trunk/src/ai_manager.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on March 30, 2009 - 23:12:
Author: mordante
Date: Mon Mar 30 23:12:20 2009
New Revision: 34300

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34300&view=rev
Log:
Comment out some unused variables.

Modified:
    trunk/src/ai_manager.cpp

Modified: trunk/src/ai_manager.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai_manager.cpp?rev=34300&r1=34299&r2=34300&view=diff
==============================================================================
--- trunk/src/ai_manager.cpp (original)
+++ trunk/src/ai_manager.cpp Mon Mar 30 23:12:20 2009
@@ -168,7 +168,7 @@
        }
 }
 
-bool ai_holder::is_mandate_ok( ai_interface::info &i )
+bool ai_holder::is_mandate_ok( ai_interface::info &/*i*/ )
 {
        DBG_AI_MANAGER << describe_ai() << "AI mandate is ok" << std::endl;
        return true;
@@ -638,13 +638,13 @@
 
 }
 
-ai_holder& ai_manager::get_command_ai_holder( int team )
+ai_holder& ai_manager::get_command_ai_holder( int /*team*/ )
 {
        ai_holder& ai_holder = 
get_or_create_active_ai_holder_for_team_without_fallback(ai_manager::AI_TEAM_COMMAND_AI,AI_TYPE_FORMULA_AI);
        return ai_holder;
 }
 
-ai_holder& ai_manager::get_fallback_ai_holder( int team )
+ai_holder& ai_manager::get_fallback_ai_holder( int /*team*/ )
 {
        ai_holder& ai_holder = 
get_or_create_active_ai_holder_for_team_without_fallback(ai_manager::AI_TEAM_FALLBACK_AI,AI_TYPE_IDLE_AI);
        return ai_holder;




Related Messages


Powered by MHonArc, Updated Mon Mar 30 23:20:28 2009