diff options
Diffstat (limited to 'src/net/serverinfo.h')
-rw-r--r-- | src/net/serverinfo.h | 4 |
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; |