aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorEugene Sandulenko2013-05-02 14:01:13 +0300
committerEugene Sandulenko2013-05-02 14:01:13 +0300
commit7c26b6ee0a6ed9193dd7762df38c65ffdffe3d7c (patch)
treed8fefddb6f1c0d3913ed71b60e5526bd582f951f /audio
parentbef4610dcbeeec610f84ad843d49a1fc59cdf4f5 (diff)
downloadscummvm-rg350-7c26b6ee0a6ed9193dd7762df38c65ffdffe3d7c.tar.gz
scummvm-rg350-7c26b6ee0a6ed9193dd7762df38c65ffdffe3d7c.tar.bz2
scummvm-rg350-7c26b6ee0a6ed9193dd7762df38c65ffdffe3d7c.zip
AUDIO: Fix unitialized variable. CID 1003162
Diffstat (limited to 'audio')
-rw-r--r--audio/midiparser.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/midiparser.cpp b/audio/midiparser.cpp
index eec32c05d1..9c144c2479 100644
--- a/audio/midiparser.cpp
+++ b/audio/midiparser.cpp
@@ -46,6 +46,7 @@ _numTracks(0),
_activeTrack(255),
_abortParse(0) {
memset(_activeNotes, 0, sizeof(_activeNotes));
+ memset(_tracks, 0, sizeof(_tracks));
_nextEvent.start = NULL;
_nextEvent.delta = 0;
_nextEvent.event = 0;