aboutsummaryrefslogtreecommitdiff
path: root/scumm/imuse_digi
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-11-25 07:09:30 +0000
committerTorbjörn Andersson2004-11-25 07:09:30 +0000
commitecc7b79a44f97f58db5b9bb0ae07efed9af49fa2 (patch)
tree30f13e1022e7013b306de2f4c3f9f87b60f56d4a /scumm/imuse_digi
parentb14251415153c2862e0a69d14be6191da537c60f (diff)
downloadscummvm-rg350-ecc7b79a44f97f58db5b9bb0ae07efed9af49fa2.tar.gz
scummvm-rg350-ecc7b79a44f97f58db5b9bb0ae07efed9af49fa2.tar.bz2
scummvm-rg350-ecc7b79a44f97f58db5b9bb0ae07efed9af49fa2.zip
Initialize variable to avoid warning and possibly undefined behaviour.
svn-id: r15879
Diffstat (limited to 'scumm/imuse_digi')
-rw-r--r--scumm/imuse_digi/dimuse_track.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/imuse_digi/dimuse_track.cpp b/scumm/imuse_digi/dimuse_track.cpp
index 3dfa13372a..98af395ea8 100644
--- a/scumm/imuse_digi/dimuse_track.cpp
+++ b/scumm/imuse_digi/dimuse_track.cpp
@@ -257,7 +257,7 @@ void IMuseDigital::fadeOutMusic(int fadeDelay) {
IMuseDigital::Track *IMuseDigital::cloneToFadeOutTrack(Track *track, int fadeDelay) {
assert(track);
- Track *fadeTrack;
+ Track *fadeTrack = 0;
debug(5, "IMuseDigital::cloneToFadeOutTrack(%d, %d)", track->trackId, fadeDelay);