From 1ede06be83d0ca7b474184a5e61761b10c049e9c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 23 Jun 2011 12:57:35 +0300 Subject: Fix compilation warnings. --- src/gui/skilldialog.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/gui/skilldialog.h') diff --git a/src/gui/skilldialog.h b/src/gui/skilldialog.h index af25ec508..0b8287643 100644 --- a/src/gui/skilldialog.h +++ b/src/gui/skilldialog.h @@ -42,6 +42,12 @@ class TabbedArea; struct SkillInfo; +#ifdef __GNUC__ +#define _UNUSED_ __attribute__ ((unused)) +#else +#define _UNUSED_ +#endif + /** * The skill dialog. * -- cgit v1.2.3-70-g09d2