diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-30 01:19:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-30 13:11:34 +0300 |
commit | 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 (patch) | |
tree | 4a0a5fd220828b92ef96446fe38dbe67ff446c6c /src/sound.h | |
parent | 2a70a50c785ce639b76141a3a6887836d22fe12c (diff) | |
download | manaverse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.gz manaverse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.bz2 manaverse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.tar.xz manaverse-6b1684d33dec02eb6308bb3d8d3707f4d5252ba5.zip |
Add unused warnings to some files.
Diffstat (limited to 'src/sound.h')
-rw-r--r-- | src/sound.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sound.h b/src/sound.h index eb81bf028..7aba7e7be 100644 --- a/src/sound.h +++ b/src/sound.h @@ -105,7 +105,7 @@ class Sound final : public ConfigListener void fadeOutAndPlayMusic(const std::string &fileName, const int ms = 1000); - int getMaxVolume() const + int getMaxVolume() const A_WARN_UNUSED { return MIX_MAX_VOLUME; } void setMusicVolume(const int volume); @@ -135,7 +135,7 @@ class Sound final : public ConfigListener void volumeRestore(); - std::string getCurrentMusicFile() const + std::string getCurrentMusicFile() const A_WARN_UNUSED { return mCurrentMusicFile; } /** |