aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m32r-asm.c
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1999-08-29 21:16:25 +0000
committerDoug Evans <dje@google.com>1999-08-29 21:16:25 +0000
commiteb1b03df1a293f7aebb67e1deeba4b0bb21c3f9a (patch)
tree9f7297c1dd108f4cb2ab54eb6c4619940b01529a /opcodes/m32r-asm.c
parent1174497c8ae1bf9293addcb216c48dbdbf487e4f (diff)
downloadgdb-eb1b03df1a293f7aebb67e1deeba4b0bb21c3f9a.zip
gdb-eb1b03df1a293f7aebb67e1deeba4b0bb21c3f9a.tar.gz
gdb-eb1b03df1a293f7aebb67e1deeba4b0bb21c3f9a.tar.bz2
* fr30-asm.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c: Rebuild.
* m32r-asm.c,m32r-desc.h,m32r-dis.c,m32r-ibld.c,m32r-opc.c: Rebuild. * m32r-opinst.c: Rebuild.
Diffstat (limited to 'opcodes/m32r-asm.c')
-rw-r--r--opcodes/m32r-asm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/opcodes/m32r-asm.c b/opcodes/m32r-asm.c
index 378cd73..0d67c92 100644
--- a/opcodes/m32r-asm.c
+++ b/opcodes/m32r-asm.c
@@ -216,7 +216,9 @@ m32r_cgen_parse_operand (cd, opindex, strp, fields)
const char ** strp;
CGEN_FIELDS * fields;
{
- const char * errmsg;
+ const char * errmsg = NULL;
+ /* Used by scalar operands that still need to be parsed. */
+ long junk;
switch (opindex)
{
@@ -248,7 +250,7 @@ m32r_cgen_parse_operand (cd, opindex, strp, fields)
errmsg = cgen_parse_keyword (cd, strp, & m32r_cgen_opval_gr_names, & fields->f_r1);
break;
case M32R_OPERAND_HASH :
- errmsg = parse_hash (cd, strp, M32R_OPERAND_HASH, &fields->f_nil);
+ errmsg = parse_hash (cd, strp, M32R_OPERAND_HASH, &junk);
break;
case M32R_OPERAND_HI16 :
errmsg = parse_hi16 (cd, strp, M32R_OPERAND_HI16, &fields->f_hi16);