summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-30 01:19:46 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-30 13:11:34 +0300
commit6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch)
tree4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/gui/serverdialog.h
parent2a70a50c785ce639b76141a3a6887836d22fe12c (diff)
downloadmv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz
mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2
mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz
mv-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip
Add unused warnings to some files.
Diffstat (limited to 'src/gui/serverdialog.h')
-rw-r--r--src/gui/serverdialog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/serverdialog.h b/src/gui/serverdialog.h
index 0e5764865..740c35a95 100644
--- a/src/gui/serverdialog.h
+++ b/src/gui/serverdialog.h
@@ -63,17 +63,17 @@ class ServersListModel final : public gcn::ListModel
/**
* Used to get number of line in the list
*/
- int getNumberOfElements() override;
+ int getNumberOfElements() override A_WARN_UNUSED;
/**
* Used to get an element from the list
*/
- std::string getElementAt(int elementIndex) override;
+ std::string getElementAt(int elementIndex) override A_WARN_UNUSED;
/**
* Used to get the corresponding Server struct
*/
- const ServerInfo &getServer(const int elementIndex) const
+ const ServerInfo &getServer(const int elementIndex) const A_WARN_UNUSED
{ return mServers->at(elementIndex); }
void setVersionString(const int index, const std::string &version);