From 34a492ac70b3217937eafeb6db3cb9bfdc18fba9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Nov 2011 01:11:42 +0300 Subject: Move A_UNUSED define to include file. --- src/gui/didyouknowwindow.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'src/gui/didyouknowwindow.h') diff --git a/src/gui/didyouknowwindow.h b/src/gui/didyouknowwindow.h index b135103e8..d9734e8fe 100644 --- a/src/gui/didyouknowwindow.h +++ b/src/gui/didyouknowwindow.h @@ -28,12 +28,6 @@ #include -#ifdef __GNUC__ -#define A_UNUSED __attribute__ ((unused)) -#else -#define A_UNUSED -#endif - class Button; class BrowserBox; class CheckBox; @@ -59,8 +53,7 @@ class DidYouKnowWindow : public Window, public LinkHandler, /** * Handles link action. */ - void handleLink(const std::string &link, - gcn::MouseEvent *event A_UNUSED); + void handleLink(const std::string &link, gcn::MouseEvent *event); void loadData(int num = 0); -- cgit v1.2.3-60-g2f50