aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2008-01-15 20:36:54 +0000
committerTorbjörn Andersson2008-01-15 20:36:54 +0000
commit8935c574d547903b0c8d760d406873a3d8a36228 (patch)
tree4e2b3482d9760bfeda7a4f224984c37e955125b9
parent5dc2caa3070d35bd41446089d34609ee1c50e546 (diff)
downloadscummvm-rg350-8935c574d547903b0c8d760d406873a3d8a36228.tar.gz
scummvm-rg350-8935c574d547903b0c8d760d406873a3d8a36228.tar.bz2
scummvm-rg350-8935c574d547903b0c8d760d406873a3d8a36228.zip
Fixed warnings.
svn-id: r30502
-rw-r--r--engines/scumm/imuse_digi/dimuse_track.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_track.cpp b/engines/scumm/imuse_digi/dimuse_track.cpp
index 4cac070634..98642b7d59 100644
--- a/engines/scumm/imuse_digi/dimuse_track.cpp
+++ b/engines/scumm/imuse_digi/dimuse_track.cpp
@@ -288,7 +288,7 @@ void IMuseDigital::fadeOutMusicAndStartNew(int fadeDelay, const char *filename,
Track *track = _track[l];
if (track->used && !track->toBeRemoved && (track->volGroupId == IMUSE_VOLGRP_MUSIC)) {
startMusicWithOtherPos(filename, soundId, 0, 127, track);
- Track *fadeTrack = cloneToFadeOutTrack(track, fadeDelay);
+ cloneToFadeOutTrack(track, fadeDelay);
flushTrack(track);
break;
}
@@ -302,7 +302,7 @@ void IMuseDigital::fadeOutMusic(int fadeDelay) {
for (int l = 0; l < MAX_DIGITAL_TRACKS; l++) {
Track *track = _track[l];
if (track->used && !track->toBeRemoved && (track->volGroupId == IMUSE_VOLGRP_MUSIC)) {
- Track *fadeTrack = cloneToFadeOutTrack(track, fadeDelay);
+ cloneToFadeOutTrack(track, fadeDelay);
flushTrack(track);
break;
}