diff options
author | D G Turner | 2019-11-18 07:23:11 +0000 |
---|---|---|
committer | D G Turner | 2019-11-18 07:23:11 +0000 |
commit | 3238e523ee2ac442c7562830a85b347400b7da88 (patch) | |
tree | ae8ba0f7c761983a3e24347fc765e60e038fb5d3 /engines | |
parent | 6293299f40d927c0c0009daa3a433cdc725244ee (diff) | |
download | scummvm-rg350-3238e523ee2ac442c7562830a85b347400b7da88.tar.gz scummvm-rg350-3238e523ee2ac442c7562830a85b347400b7da88.tar.bz2 scummvm-rg350-3238e523ee2ac442c7562830a85b347400b7da88.zip |
DIRECTOR: Fix Unused Variable Compiler Warnings
As the engine is still being actively developed, have commented out
these variables, rather than removing, so they can be enabled in future.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/lingo/lingo-bytecode.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/director/lingo/lingo-bytecode.cpp b/engines/director/lingo/lingo-bytecode.cpp index 086f61de4f..19b149f254 100644 --- a/engines/director/lingo/lingo-bytecode.cpp +++ b/engines/director/lingo/lingo-bytecode.cpp @@ -98,8 +98,8 @@ void Lingo::addCodeV4(Common::SeekableSubReadStreamEndian &stream, ScriptType ty for (uint32 i = 0; i < 0x2e; i++) { stream.readByte(); } - uint16 globalsOffset = stream.readUint16(); - uint16 globalsCount = stream.readUint16(); + /*uint16 globalsOffset = */stream.readUint16(); + /*uint16 globalsCount = */stream.readUint16(); // unk3 for (uint32 i = 0; i < 0x4; i++) { stream.readByte(); @@ -113,7 +113,7 @@ void Lingo::addCodeV4(Common::SeekableSubReadStreamEndian &stream, ScriptType ty stream.readUint16(); stream.readUint16(); stream.readUint16(); - uint16 constsBase = stream.readUint16(); + /*uint16 constsBase = */stream.readUint16(); // preload all the constants! // these are stored as a reference table of 6 byte entries, followed by a storage area. @@ -213,14 +213,14 @@ void Lingo::addCodeV4(Common::SeekableSubReadStreamEndian &stream, ScriptType ty _currentScriptContext->functions.push_back(new ScriptData); _currentScript = _currentScriptContext->functions[_currentScriptFunction]; - uint16 nameIndex = stream.readUint16(); + /*uint16 nameIndex = */stream.readUint16(); stream.readUint16(); uint32 length = stream.readUint32(); uint32 startOffset = stream.readUint32(); - uint16 argCount = stream.readUint16(); - uint32 argOffset = stream.readUint32(); - uint16 varCount = stream.readUint16(); - uint32 varNamesOffset = stream.readUint32(); + /*uint16 argCount = */stream.readUint16(); + /*uint32 argOffset = */stream.readUint32(); + /*uint16 varCount = */stream.readUint16(); + /*uint32 varNamesOffset = */stream.readUint32(); stream.readUint16(); stream.readUint16(); stream.readUint16(); |