aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/sound
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-27 18:13:42 +0200
committerEinar Johan Trøan Sømåen2012-07-27 18:13:42 +0200
commitf6ac34ab9a48b702e3c3678cfd208ebeb2517dc4 (patch)
tree936197f2b55fae79012acf37b35ace0916257037 /engines/wintermute/base/sound
parent6262a2ac8751b1bfff7becc8cf181ab9dd16bf87 (diff)
downloadscummvm-rg350-f6ac34ab9a48b702e3c3678cfd208ebeb2517dc4.tar.gz
scummvm-rg350-f6ac34ab9a48b702e3c3678cfd208ebeb2517dc4.tar.bz2
scummvm-rg350-f6ac34ab9a48b702e3c3678cfd208ebeb2517dc4.zip
WINTERMUTE: Get rid of almost all LLVM GCC 4.2 warnings.
Diffstat (limited to 'engines/wintermute/base/sound')
-rw-r--r--engines/wintermute/base/sound/base_sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/wintermute/base/sound/base_sound.cpp b/engines/wintermute/base/sound/base_sound.cpp
index 9bea6be770..8a139ead4f 100644
--- a/engines/wintermute/base/sound/base_sound.cpp
+++ b/engines/wintermute/base/sound/base_sound.cpp
@@ -268,7 +268,8 @@ bool BaseSound::setPrivateVolume(int volume) {
if (!_sound) {
return STATUS_FAILED;
} else {
- return _sound->_privateVolume = volume;
+ _sound->_privateVolume = volume;
+ return STATUS_OK;
}
}