mciseq: Fix potentially uninitialized variable compiler warnings.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Alexandre Julliard 2020-06-08 14:17:23 +02:00
parent b3af087041
commit 69952b6fab
1 changed files with 1 additions and 0 deletions

View File

@ -230,6 +230,7 @@ static WORD MIDI_mciReadVaryLen(WINE_MCIMIDI* wmm, LPDWORD lpdw)
do {
if (MIDI_mciReadByte(wmm, &byte) != 0) {
*lpdw = 0;
return 0;
}
value = (value << 7) + (byte & 0x7F);