summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/mapreader.h')
-rw-r--r--src/resources/mapreader.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/resources/mapreader.h b/src/resources/mapreader.h
index 172b8c1c5..4ef3eafc2 100644
--- a/src/resources/mapreader.h
+++ b/src/resources/mapreader.h
@@ -41,16 +41,18 @@ class MapReader final
* Read an XML map from a file.
*/
static Map *readMap(const std::string &filename,
- const std::string &realFilename);
+ const std::string &realFilename) A_WARN_UNUSED;
/**
* Read an XML map from a parsed XML tree. The path is used to find the
* location of referenced tileset images.
*/
- static Map *readMap(XmlNodePtr node, const std::string &path);
+ static Map *readMap(XmlNodePtr node,
+ const std::string &path) A_WARN_UNUSED;
static Map *createEmptyMap(const std::string &filename,
- const std::string &realFilename);
+ const std::string &realFilename)
+ A_WARN_UNUSED;
private:
/**
@@ -72,7 +74,7 @@ class MapReader final
* Reads a tile set.
*/
static Tileset *readTileset(XmlNodePtr node, const std::string &path,
- Map *const map);
+ Map *const map) A_WARN_UNUSED;
};
#endif