diff options
author | Eugene Sandulenko | 2013-05-02 14:01:13 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-05-02 14:01:13 +0300 |
commit | 7c26b6ee0a6ed9193dd7762df38c65ffdffe3d7c (patch) | |
tree | d8fefddb6f1c0d3913ed71b60e5526bd582f951f /audio | |
parent | bef4610dcbeeec610f84ad843d49a1fc59cdf4f5 (diff) | |
download | scummvm-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.cpp | 1 |
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; |