From d9da8bd1e7461da3f5041ee1d467abfe181e8635 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Fri, 28 Dec 2007 16:39:13 +0000 Subject: [PATCH] Fixed whiny gcc errors. --- src/emu/cpu/tms32031/tms32031.c | 1 - src/mame/video/midzeus2.c | 4 +++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/emu/cpu/tms32031/tms32031.c b/src/emu/cpu/tms32031/tms32031.c index b6de2ca1312..d0ef261ced7 100644 --- a/src/emu/cpu/tms32031/tms32031.c +++ b/src/emu/cpu/tms32031/tms32031.c @@ -353,7 +353,6 @@ static void check_irqs(void) static void set_irq_line(int irqline, int state) { - UINT16 oldstate = tms32031.irq_state; UINT16 intmask = 1 << irqline; /* ignore anything out of range */ diff --git a/src/mame/video/midzeus2.c b/src/mame/video/midzeus2.c index e70706cf256..f683093337c 100644 --- a/src/mame/video/midzeus2.c +++ b/src/mame/video/midzeus2.c @@ -95,7 +95,7 @@ static void zeus_draw_quad(const UINT32 *databuffer, UINT32 texoffs, int logit); static void render_poly_8bit(void *dest, INT32 scanline, const poly_extent *extent, const void *extradata, int threadid); static void log_fifo_command(const UINT32 *data, int numwords, const char *suffix); -static void log_waveram(UINT32 base, UINT16 length); +//static void log_waveram(UINT32 base, UINT16 length); @@ -1237,6 +1237,7 @@ static void log_fifo_command(const UINT32 *data, int numwords, const char *suffi } +#if 0 static void log_waveram(UINT32 base, UINT16 length) { static struct @@ -1277,3 +1278,4 @@ static void log_waveram(UINT32 base, UINT16 length) for (i = 0; i < numoctets; i++) logerror("\t%02X: %08X %08X\n", i, WAVERAM_READ32(ptr, i*2), WAVERAM_READ32(ptr, i*2+1)); } +#endif