From ecc7b79a44f97f58db5b9bb0ae07efed9af49fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Andersson?= Date: Thu, 25 Nov 2004 07:09:30 +0000 Subject: [PATCH] Initialize variable to avoid warning and possibly undefined behaviour. svn-id: r15879 --- scumm/imuse_digi/dimuse_track.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scumm/imuse_digi/dimuse_track.cpp b/scumm/imuse_digi/dimuse_track.cpp index 3dfa13372aa..98af395ea8a 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);