aboutsummaryrefslogtreecommitdiff
path: root/audio/decoders/aiff.cpp
diff options
context:
space:
mode:
authorChristian Krause2015-09-15 23:53:13 +0200
committerMatthew Hoops2015-09-15 20:48:09 -0400
commit1fdeb98e70d606c9e6c8a012d26062c1cd859524 (patch)
tree578dfe6ff7937465012f24ece567dca32f7662a7 /audio/decoders/aiff.cpp
parent8165e9aa4c32802bba5e07570c033f966cf2dc50 (diff)
downloadscummvm-rg350-1fdeb98e70d606c9e6c8a012d26062c1cd859524.tar.gz
scummvm-rg350-1fdeb98e70d606c9e6c8a012d26062c1cd859524.tar.bz2
scummvm-rg350-1fdeb98e70d606c9e6c8a012d26062c1cd859524.zip
AUDIO: Fix compiler warning
This commit fixes a compiler warning about a "set but not used" variable. The warning was introduced by commit 2f707bf2.
Diffstat (limited to 'audio/decoders/aiff.cpp')
-rw-r--r--audio/decoders/aiff.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/decoders/aiff.cpp b/audio/decoders/aiff.cpp
index 72baf84582..e1949ebb07 100644
--- a/audio/decoders/aiff.cpp
+++ b/audio/decoders/aiff.cpp
@@ -102,7 +102,7 @@ RewindableAudioStream *makeAIFFStream(Common::SeekableReadStream *stream, Dispos
bool foundSSND = false;
uint16 channels = 0, bitsPerSample = 0;
- uint32 blockAlign = 0, rate = 0;
+ uint32 rate = 0;
uint32 codec = kCodecPCM; // AIFF default
Common::SeekableReadStream *dataStream = 0;
@@ -128,7 +128,7 @@ RewindableAudioStream *makeAIFFStream(Common::SeekableReadStream *stream, Dispos
case MKTAG('S', 'S', 'N', 'D'):
foundSSND = true;
/* uint32 offset = */ stream->readUint32BE();
- blockAlign = stream->readUint32BE();
+ /* uint32 blockAlign = */ stream->readUint32BE();
dataStream = new Common::SeekableSubReadStream(stream, stream->pos(), stream->pos() + length - 8, disposeAfterUse);
break;
case MKTAG('F', 'V', 'E', 'R'):