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/net/serverinfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/serverinfo.h') diff --git a/src/net/serverinfo.h b/src/net/serverinfo.h index 7be5957d2..d58bd3286 100644 --- a/src/net/serverinfo.h +++ b/src/net/serverinfo.h @@ -74,7 +74,7 @@ public: version.second = info.version.second; } - bool isValid() const + bool isValid() const A_WARN_UNUSED { return !(hostname.empty() || port == 0 || type == UNKNOWN); } @@ -103,7 +103,7 @@ public: port != other.port); } - static Type parseType(const std::string &type) + static Type parseType(const std::string &type) A_WARN_UNUSED { if (compareStrI(type, "tmwathena") == 0) return TMWATHENA; -- cgit v1.2.3-70-g09d2