Alexandre Julliard : mciseq: Fix potentially uninitialized variable compiler warnings.
Alexandre Julliard
julliard at winehq.org
Mon Jun 8 15:19:55 CDT 2020
Module: wine
Branch: master
Commit: 69952b6fabadc5644168a6175ee14fbf358eacff
URL: https://source.winehq.org/git/wine.git/?a=commit;h=69952b6fabadc5644168a6175ee14fbf358eacff
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Jun 8 14:17:23 2020 +0200
mciseq: Fix potentially uninitialized variable compiler warnings.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/mciseq/mcimidi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/mciseq/mcimidi.c b/dlls/mciseq/mcimidi.c
index c6bc860b1e..8c52730b15 100644
--- a/dlls/mciseq/mcimidi.c
+++ b/dlls/mciseq/mcimidi.c
@@ -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);
More information about the wine-cvs
mailing list