From 7b0b90f607effe2b3bac41dda4fb47b9ca6d7466 Mon Sep 17 00:00:00 2001 From: yz70s Date: Fri, 12 Jun 2020 13:54:49 +0200 Subject: [PATCH] xbox_nv2a.cpp: try to remove gcc 7.2.0 warning (nw) --- src/mame/video/xbox_nv2a.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/video/xbox_nv2a.cpp b/src/mame/video/xbox_nv2a.cpp index 9de440a9d87..ea45ff84953 100644 --- a/src/mame/video/xbox_nv2a.cpp +++ b/src/mame/video/xbox_nv2a.cpp @@ -502,7 +502,7 @@ void vertex_program_simulator::decode_instruction(int address) int vertex_program_simulator::step() { int p1, p2; - float tmp[3 * 4]; + float tmp[3 * 4] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; float tmpv[4] = { 0, 0, 0, 0}; float tmps[4] = { 0, 0, 0, 0}; instruction::decoded *d;