h8: Fixed build. (nw)

Compiling src/emu/cpu/h8/h8.c...
src/emu/cpu/h8/h8.c: In member function ‘virtual void h8_device::execute_run()’:
src/emu/cpu/h8/h8.c:192:8: error: unused variable ‘picount’ [-Werror=unused-variable]
cc1plus: all warnings being treated as errors
make: *** [obj/sdl/emu/cpu/h8/h8.o] Error 1
This commit is contained in:
Mike Naberezny 2014-03-26 21:22:38 +00:00
parent d0ba459fbd
commit 5a5e796c90

View File

@ -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)