[Scummvm-git-logs] scummvm master -> e8ad1bdec502362e4f6e44043a4fedd34d8e1e32
digitall
547637+digitall at users.noreply.github.com
Sat Jan 18 02:58:09 UTC 2020
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:
e8ad1bdec5 SCI: Fix GCC Compiler Unused Variable Warning
Commit: e8ad1bdec502362e4f6e44043a4fedd34d8e1e32
https://github.com/scummvm/scummvm/commit/e8ad1bdec502362e4f6e44043a4fedd34d8e1e32
Author: D G Turner (digitall at scummvm.org)
Date: 2020-01-18T02:54:30Z
Commit Message:
SCI: Fix GCC Compiler Unused Variable Warning
This is flagged by GCC if -Wunused-variable is enabled.
Changed paths:
engines/sci/resource_audio.cpp
diff --git a/engines/sci/resource_audio.cpp b/engines/sci/resource_audio.cpp
index 73e10eb..76997e7 100644
--- a/engines/sci/resource_audio.cpp
+++ b/engines/sci/resource_audio.cpp
@@ -338,7 +338,6 @@ int ResourceManager::readAudioMapSCI11(IntMapResourceSource *map) {
return SCI_ERROR_NO_RESOURCE_FILES_FOUND;
}
- const uint32 srcSize = fileStream->size();
disposeVolumeFileStream(fileStream, src);
SciSpan<const byte>::const_iterator ptr = mapRes->cbegin();
More information about the Scummvm-git-logs
mailing list