From 6b1684d33dec02eb6308bb3d8d3707f4d5252ba5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 Oct 2012 01:19:46 +0300 Subject: Add unused warnings to some files. --- src/sound.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sound.h') 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; } /** -- cgit v1.2.3-60-g2f50