aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaweł Kołodziejski2008-07-22 15:24:39 +0000
committerPaweł Kołodziejski2008-07-22 15:24:39 +0000
commitb422f0ba734190ed5807f4fcf58aee3bf9b6f49e (patch)
tree777e62bd5aaad03c53625d1c164573ebc20afaca /engines
parent705c92ddc33b050fd982aab728ef3eb7303e0af3 (diff)
downloadscummvm-rg350-b422f0ba734190ed5807f4fcf58aee3bf9b6f49e.tar.gz
scummvm-rg350-b422f0ba734190ed5807f4fcf58aee3bf9b6f49e.tar.bz2
scummvm-rg350-b422f0ba734190ed5807f4fcf58aee3bf9b6f49e.zip
shutup valgrind warning
svn-id: r33206
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/imuse_digi/dimuse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/imuse_digi/dimuse.cpp b/engines/scumm/imuse_digi/dimuse.cpp
index fa50eca604..d3359fa33e 100644
--- a/engines/scumm/imuse_digi/dimuse.cpp
+++ b/engines/scumm/imuse_digi/dimuse.cpp
@@ -57,8 +57,8 @@ IMuseDigital::IMuseDigital(ScummEngine_v7 *scumm, Audio::Mixer *mixer, int fps)
for (int l = 0; l < MAX_DIGITAL_TRACKS + MAX_DIGITAL_FADETRACKS; l++) {
_track[l] = new Track;
assert(_track[l]);
+ memset(_track[l], 0, sizeof(Track));
_track[l]->trackId = l;
- _track[l]->used = false;
}
_vm->_timer->installTimerProc(timer_handler, 1000000 / _callbackFps, this);