mciseq: Fix potentially uninitialized variable compiler warnings.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b3af087041
commit
69952b6fab
|
@ -230,6 +230,7 @@ static WORD MIDI_mciReadVaryLen(WINE_MCIMIDI* wmm, LPDWORD lpdw)
|
||||||
|
|
||||||
do {
|
do {
|
||||||
if (MIDI_mciReadByte(wmm, &byte) != 0) {
|
if (MIDI_mciReadByte(wmm, &byte) != 0) {
|
||||||
|
*lpdw = 0;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
value = (value << 7) + (byte & 0x7F);
|
value = (value << 7) + (byte & 0x7F);
|
||||||
|
|
Loading…
Reference in New Issue