From c5081bd969cd335c3c34b1375efbd348a7f551c6 Mon Sep 17 00:00:00 2001 From: Fabio Priuli Date: Wed, 30 Jan 2013 13:43:34 +0000 Subject: [PATCH] making happy old OSX compiler... nw --- src/mame/machine/smpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/machine/smpc.c b/src/mame/machine/smpc.c index 2dd93936928..4f9aec2b217 100644 --- a/src/mame/machine/smpc.c +++ b/src/mame/machine/smpc.c @@ -856,7 +856,7 @@ UINT8 saturn_state::smpc_th_control_mode(UINT8 pad_n) { int th; const char *const padnames[] = { "JOY1", "JOY2" }; - UINT8 res; + UINT8 res = 0; th = (pad_n == 0) ? ((m_smpc.PDR1>>6) & 1) : ((m_smpc.PDR2>>6) & 1);