From 515f4bbe3b0852f8820bfbb86af82ca9ce295ef0 Mon Sep 17 00:00:00 2001 From: iq_132 <1191709+iq132@users.noreply.github.com> Date: Sat, 14 Jun 2014 04:20:53 +0000 Subject: [PATCH] Fix compile warning in dec0. --- src/burn/drv/dataeast/d_dec0.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/burn/drv/dataeast/d_dec0.cpp b/src/burn/drv/dataeast/d_dec0.cpp index 705877d7c..b85d76361 100644 --- a/src/burn/drv/dataeast/d_dec0.cpp +++ b/src/burn/drv/dataeast/d_dec0.cpp @@ -1932,7 +1932,7 @@ static void RotateLeft(int *v) { } static int HbarrelRotation(int addy) { // 0 - 11 (12 rotation points) - UINT8 player[2]; + UINT8 player[2] = { 0, 0 }; // addy == 0 player 1 addy == 8 player 2 if ((addy != 0) && (addy != 8)) { bprintf(PRINT_NORMAL, _T("Strange Rotation address => %06X\n"), addy); @@ -1963,7 +1963,7 @@ static int HbarrelRotation(int addy) { // 0 - 11 (12 rotation points) static int MidresRotation(int addy) { // p1 == 4 p2 == 6 - UINT8 player[2]; + UINT8 player[2] = { 0, 0 }; // addy == 0 player 1 addy == 8 player 2 if ((addy != 4) && (addy != 6)) { bprintf(PRINT_NORMAL, _T("Strange Rotation address => %06X\n"), addy);