diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-30 22:03:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-30 22:03:32 +0300 |
commit | 1d0044cbc81e547ad688a295288910d58e1a3fb1 (patch) | |
tree | 0a4575b8ff5f76b571891ea0f30df02fe61f4f29 /src/guichan/widgets/dropdown.hpp | |
parent | b82ee801506790283d2f03060949bb5089086de8 (diff) | |
download | manaverse-1d0044cbc81e547ad688a295288910d58e1a3fb1.tar.gz manaverse-1d0044cbc81e547ad688a295288910d58e1a3fb1.tar.bz2 manaverse-1d0044cbc81e547ad688a295288910d58e1a3fb1.tar.xz manaverse-1d0044cbc81e547ad688a295288910d58e1a3fb1.zip |
Fix compilation warnings after guichan integration.
Remove temp file.
Diffstat (limited to 'src/guichan/widgets/dropdown.hpp')
-rw-r--r-- | src/guichan/widgets/dropdown.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/guichan/widgets/dropdown.hpp b/src/guichan/widgets/dropdown.hpp index 090fff0ce..4a0993b1a 100644 --- a/src/guichan/widgets/dropdown.hpp +++ b/src/guichan/widgets/dropdown.hpp @@ -57,6 +57,12 @@ #include "guichan/widgets/listbox.hpp" #include "guichan/widgets/scrollarea.hpp" +#ifdef __GNUC__ +#define _UNUSED_ __attribute__ ((unused)) +#else +#define _UNUSED_ +#endif + namespace gcn { /** * An implementation of a drop downable list from which an item can be |