diff options
author | Nick Clifton <nickc@redhat.com> | 2015-08-11 09:36:57 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2015-08-11 09:36:57 +0100 |
commit | 2b29bb41d56d4e4ba495393f4f519718b73f92df (patch) | |
tree | 7ed1a14fb676dbe669cffc57b29286d1bd8c92a8 /gas/config | |
parent | 30379291886a171e6dc202122bc1c583318c2e17 (diff) | |
download | gdb-2b29bb41d56d4e4ba495393f4f519718b73f92df.zip gdb-2b29bb41d56d4e4ba495393f4f519718b73f92df.tar.gz gdb-2b29bb41d56d4e4ba495393f4f519718b73f92df.tar.bz2 |
Fix a typo where the same name was checked twice.
PR gas/18679
* config/xtensa-relax.c (same_operand_name): Fix typo.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/xtensa-relax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/xtensa-relax.c b/gas/config/xtensa-relax.c index 688d5f3..4b999d5 100644 --- a/gas/config/xtensa-relax.c +++ b/gas/config/xtensa-relax.c @@ -869,7 +869,7 @@ clear_opname_map (opname_map *m) static bfd_boolean same_operand_name (const opname_map_e *m1, const opname_map_e *m2) { - if (m1->operand_name == NULL || m1->operand_name == NULL) + if (m1->operand_name == NULL || m2->operand_name == NULL) return FALSE; return (m1->operand_name == m2->operand_name); } |