From abd58633c1985c879a84249650172da639773730 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 12 Nov 2014 15:00:01 +1030 Subject: [PATCH] Fix z80-coff build breakage * config/tc-z80.c (parse_exp_not_indexed, parse_exp): Warning fixes. --- gas/ChangeLog | 4 ++++ gas/config/tc-z80.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 6fd80b6ac9b..b3af3382745 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2014-11-12 Alan Modra + + * config/tc-z80.c (parse_exp_not_indexed, parse_exp): Warning fixes. + 2014-11-12 Alan Modra PR ld/17482 diff --git a/gas/config/tc-z80.c b/gas/config/tc-z80.c index 54fa322c028..a602dc744e6 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; } -- 2.30.2