summaryrefslogtreecommitdiff
path: root/src/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound.h')
-rw-r--r--src/sound.h4
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; }
/**