From 5a5e796c905b45ee28ac661f3c53810b6ed4627e Mon Sep 17 00:00:00 2001 From: Mike Naberezny Date: Wed, 26 Mar 2014 21:22:38 +0000 Subject: [PATCH] =?UTF-8?q?h8:=20Fixed=20build.=20(nw)=20Compiling=20src/e?= =?UTF-8?q?mu/cpu/h8/h8.c...=20src/emu/cpu/h8/h8.c:=20In=20member=20functi?= =?UTF-8?q?on=20=E2=80=98virtual=20void=20h8=5Fdevice::execute=5Frun()?= =?UTF-8?q?=E2=80=99:=20src/emu/cpu/h8/h8.c:192:8:=20error:=20unused=20var?= =?UTF-8?q?iable=20=E2=80=98picount=E2=80=99=20[-Werror=3Dunused-variable]?= =?UTF-8?q?=20cc1plus:=20all=20warnings=20being=20treated=20as=20errors=20?= =?UTF-8?q?make:=20***=20[obj/sdl/emu/cpu/h8/h8.o]=20Error=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/emu/cpu/h8/h8.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/emu/cpu/h8/h8.c b/src/emu/cpu/h8/h8.c index 79014cd00fd..0d4f43e3d09 100644 --- a/src/emu/cpu/h8/h8.c +++ b/src/emu/cpu/h8/h8.c @@ -188,7 +188,8 @@ void h8_device::execute_run() while(icount > 0) { while(icount > bcount) { - int picount = inst_state >= 0x10000 && inst_state < 0x20000 ? -100 : icount; +// TODO: picount is unused since SVN r28981 +// int picount = inst_state >= 0x10000 && inst_state < 0x20000 ? -100 : icount; if(inst_state < 0x10000) { PPC = NPC; if(machine().debug_flags & DEBUG_FLAG_ENABLED)