summaryrefslogtreecommitdiff
path: root/src/resources/itemdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 13:05:34 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 (patch)
tree077c2ff59d6656096aa0acaaf4dd6bf4fb7867f7 /src/resources/itemdb.h
parent6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff)
downloadplus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz
plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2
plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz
plus-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip
Add unused warnings to other files.
Diffstat (limited to 'src/resources/itemdb.h')
-rw-r--r--src/resources/itemdb.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/resources/itemdb.h b/src/resources/itemdb.h
index 1e6de3929..bd0b2cdf4 100644
--- a/src/resources/itemdb.h
+++ b/src/resources/itemdb.h
@@ -28,6 +28,8 @@
#include <list>
#include <map>
+#include "localconsts.h"
+
class ItemInfo;
/**
@@ -47,10 +49,10 @@ namespace ItemDB
const StringVect &getTags();
- bool exists(const int id);
+ bool exists(const int id) A_WARN_UNUSED;
- const ItemInfo &get(const int id);
- const ItemInfo &get(const std::string &name);
+ const ItemInfo &get(const int id) A_WARN_UNUSED;
+ const ItemInfo &get(const std::string &name) A_WARN_UNUSED;
// Items database
typedef std::map<int, ItemInfo*> ItemInfos;
@@ -58,7 +60,7 @@ namespace ItemDB
const std::map<int, ItemInfo*> &getItemInfos();
- int getTagId(std::string tagName);
+ int getTagId(std::string tagName) A_WARN_UNUSED;
struct Stat
{
@@ -73,7 +75,6 @@ namespace ItemDB
};
void setStatsList(const std::vector<Stat> &stats);
-
}
#endif