This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH][H8300] Remove unneeded condition
- From: Yoshinori Sato <ysato at users dot sourceforge dot jp>
- To: binutils at sourceware dot org
- Cc: Yoshinori Sato <ysato at users dot sourceforge dot jp>
- Date: Sat, 9 Jan 2016 21:23:26 +0900
- Subject: [PATCH][H8300] Remove unneeded condition
- Authentication-results: sourceware.org; auth=none
---
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