Skip to content

Commit

Permalink
AUDIO: Fix spurious compiler warnings about use-before-set variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
digitall committed Nov 23, 2012
1 parent 8a8ab23 commit d654057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audio/softsynth/adlib.cpp
Expand Up @@ -1988,7 +1988,7 @@ void MidiDriver_ADLIB::mcKeyOn(AdLibVoice *voice, const AdLibInstrument *instr,
AdLibPart *part = voice->_part;
byte vol1, vol2;
#ifdef ENABLE_OPL3
byte secVol1, secVol2;
byte secVol1 = 0, secVol2 = 0;
#endif

voice->_twoChan = instr->feedback & 1;
Expand Down

0 comments on commit d654057

Please sign in to comment.