summaryrefslogtreecommitdiff
path: root/src/net/serverinfo.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/net/serverinfo.h
parent6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (diff)
downloadManaVerse-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.gz
ManaVerse-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.bz2
ManaVerse-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.tar.xz
ManaVerse-0cff44ef5c1383a638c30cc9f5f8c81b6b4318f9.zip
Add unused warnings to other files.
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r--src/net/serverinfo.h4
1 files changed, 2 insertions, 2 deletions
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;