diff options
author | Torbjörn Andersson | 2004-11-25 07:09:30 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-11-25 07:09:30 +0000 |
commit | ecc7b79a44f97f58db5b9bb0ae07efed9af49fa2 (patch) | |
tree | 30f13e1022e7013b306de2f4c3f9f87b60f56d4a | |
parent | b14251415153c2862e0a69d14be6191da537c60f (diff) | |
download | scummvm-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
-rw-r--r-- | scumm/imuse_digi/dimuse_track.cpp | 2 |
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); |