Skip to content

Commit

Permalink
AUDIO: Fix unitialized variable. CID 1003162
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed May 2, 2013
1 parent bef4610 commit 7c26b6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions audio/midiparser.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 7c26b6e

Please sign in to comment.