[PATCH][H8300] Remove unneeded condition
Yoshinori Sato
ysato@users.sourceforge.jp
Sat Jan 9 12:23:00 GMT 2016
---
gas/config/tc-h8300.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/config/tc-h8300.c b/gas/config/tc-h8300.c
index 04aa283..a8fae94 100644
--- a/gas/config/tc-h8300.c
+++ b/gas/config/tc-h8300.c
@@ -826,8 +826,7 @@ get_operand (char **ptr, struct h8_op *op, int direction)
op->mode |= DISP | direction;
src = skip_colonthing (src, &op->mode);
- if (*src != ')' && '(')
+ if (*src != ')')
{
as_bad (_("expected @(exp, reg16)"));
return;
--
2.6.1
More information about the Binutils
mailing list