Author: mordante
Date: Thu Jul 3 17:13:01 2008
New Revision: 27680
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27680&view=rev
Log:
Comment out some unused parameters.
Modified:
trunk/src/mouse_handler_base.cpp
Modified: trunk/src/mouse_handler_base.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/mouse_handler_base.cpp?rev=27680&r1=27679&r2=27680&view=diff
==============================================================================
--- trunk/src/mouse_handler_base.cpp (original)
+++ trunk/src/mouse_handler_base.cpp Thu Jul 3 17:13:01 2008
@@ -62,7 +62,7 @@
mouse_motion(x, y, browse, true);
}
-bool mouse_handler_base::mouse_motion_default(int x, int y, bool &update)
+bool mouse_handler_base::mouse_motion_default(int x, int y, bool& /*update*/)
{
if(minimap_scrolling_) {
//if the game is run in a window, we could miss a LMB/MMB up
event
@@ -185,12 +185,12 @@
return event.button == SDL_BUTTON_RIGHT || (event.button ==
SDL_BUTTON_LEFT && command_active());
}
-bool mouse_handler_base::right_click_before_menu(const SDL_MouseButtonEvent&
event, const bool browse)
+bool mouse_handler_base::right_click_before_menu(const SDL_MouseButtonEvent&
/*event*/, const bool /*browse*/)
{
return true;
}
-bool mouse_handler_base::left_click(const SDL_MouseButtonEvent& event, const
bool browse)
+bool mouse_handler_base::left_click(const SDL_MouseButtonEvent& event, const
bool /*browse*/)
{
dragging_ = false;
dragging_started_ = false;
@@ -208,7 +208,7 @@
return false;
}
-bool mouse_handler_base::right_click(const SDL_MouseButtonEvent& event, const
bool browse)
+bool mouse_handler_base::right_click(const SDL_MouseButtonEvent& /*event*/,
const bool /*browse*/)
{
return false;
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits