summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/express.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2007-12-17 16:41:39 +0000
committer Aaron Giles <aaron@aarongiles.com>2007-12-17 16:41:39 +0000
commit507ca2d27520118151a2556d96b9a15aac768876 (patch)
tree46bb2585f4114b1dfc157c3bfe60238d23877e7a /src/emu/debug/express.c
parentdf34329a478833efbd542a424ce1813a11214d4a (diff)
Changes for MAME 0.121u4.mame0121u4
Diffstat (limited to 'src/emu/debug/express.c')
-rw-r--r--src/emu/debug/express.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emu/debug/express.c b/src/emu/debug/express.c
index 22aa49d9782..8694c8751d9 100644
--- a/src/emu/debug/express.c
+++ b/src/emu/debug/express.c
@@ -1158,6 +1158,12 @@ static EXPRERR execute_tokens(parsed_expression *expr, UINT64 *result)
/* reset the token stack */
init_token_stack(expr);
+ /* Initialize t1, t2 to keep gcc's warnings-as-errors happy */
+ t1.type = TOK_INVALID;
+ t1.offset = 0;
+ t2.type = TOK_INVALID;
+ t2.offset = 0;
+
/* create a temporary token for holding intermediate number and memory values */
tempnum.type = TOK_NUMBER;
tempnum.offset = 0;