aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-z80.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-11-12 15:00:01 +1030
committerAlan Modra <amodra@gmail.com>2014-11-12 15:05:30 +1030
commitabd58633c1985c879a84249650172da639773730 (patch)
treecd161430e27bdcba058436985f7b38d4801d581e /gas/config/tc-z80.c
parent6d19a37a8f3be44fb006c7854a12f9edcb74080d (diff)
downloadgdb-abd58633c1985c879a84249650172da639773730.zip
gdb-abd58633c1985c879a84249650172da639773730.tar.gz
gdb-abd58633c1985c879a84249650172da639773730.tar.bz2
Fix z80-coff build breakage
* config/tc-z80.c (parse_exp_not_indexed, parse_exp): Warning fixes.
Diffstat (limited to 'gas/config/tc-z80.c')
-rw-r--r--gas/config/tc-z80.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-z80.c b/gas/config/tc-z80.c
index 54fa322..a602dc7 100644
--- a/gas/config/tc-z80.c
+++ b/gas/config/tc-z80.c
@@ -557,6 +557,8 @@ parse_exp_not_indexed (const char *s, expressionS *op)
case O_illegal:
error (_("bad expression syntax"));
break;
+ default:
+ break;
}
return input_line_pointer;
}
@@ -604,6 +606,8 @@ parse_exp (const char *s, expressionS *op)
op->X_op = O_md1;
}
break;
+ default:
+ break;
}
return res;
}