summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/hd6309
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2011-05-30 03:31:11 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2011-05-30 03:31:11 +0000
commit601301fc95130f5322fb89d0e34d713b8f6e5ac9 (patch)
tree26d4fd37a565e61b57211b79fc9ae5c2b480e9a7 /src/emu/cpu/hd6309
parent999394b8f50cbc224c3415fd42386d71217e799c (diff)
GCC 4.6 "Variable assigned but not used" fixes, part 6 (no whatsnew)
Diffstat (limited to 'src/emu/cpu/hd6309')
-rw-r--r--src/emu/cpu/hd6309/6309ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/cpu/hd6309/6309ops.c b/src/emu/cpu/hd6309/6309ops.c
index e87bc4320e0..55c44179466 100644
--- a/src/emu/cpu/hd6309/6309ops.c
+++ b/src/emu/cpu/hd6309/6309ops.c
@@ -478,10 +478,10 @@ OP_HANDLER( bra )
}
/* $21 BRN relative ----- */
+static UINT8 brn_temp; // hack around GCC 4.6 error because we need the side effects of IMMBYTE
OP_HANDLER( brn )
{
- UINT8 t;
- IMMBYTE(t);
+ IMMBYTE(brn_temp);
}
/* $1021 LBRN relative ----- */