[Scummvm-git-logs] scummvm master -> 9a05b364d05765ec7df1d80b1f8a9ae5146b86c1
sev-
noreply at scummvm.org
Thu Apr 7 09:12:30 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
9a05b364d0 SCUMM: Fix warning when scumm-7-8 is not enabled
Commit: 9a05b364d05765ec7df1d80b1f8a9ae5146b86c1
https://github.com/scummvm/scummvm/commit/9a05b364d05765ec7df1d80b1f8a9ae5146b86c1
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-04-07T11:12:06+02:00
Commit Message:
SCUMM: Fix warning when scumm-7-8 is not enabled
Changed paths:
engines/scumm/sound.cpp
diff --git a/engines/scumm/sound.cpp b/engines/scumm/sound.cpp
index fcbb6e744a3..9af1f078a69 100644
--- a/engines/scumm/sound.cpp
+++ b/engines/scumm/sound.cpp
@@ -760,6 +760,8 @@ void Sound::startTalkSound(uint32 offset, uint32 b, int mode, Audio::SoundHandle
fileSize += file->readUint32LE() >> 8;
#if defined(ENABLE_SCUMM_7_8)
_vm->_imuseDigital->startVoice(_sfxFilename.c_str(), file.release(), totalOffset, fileSize);
+#else
+ (void)fileSize;
#endif
} else if (headerTag == MKTAG('V','T','L','K')) {
#if defined(ENABLE_SCUMM_7_8)
More information about the Scummvm-git-logs
mailing list