From 0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Oct 2012 13:05:34 +0300 Subject: Add unused warnings to other files. --- src/resources/mapreader.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/resources/mapreader.h') 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 -- cgit v1.2.3-60-g2f50