projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gas/testsuite:
[binutils-gdb.git]
/
opcodes
/
maxq-dis.c
diff --git
a/opcodes/maxq-dis.c
b/opcodes/maxq-dis.c
index b4c4992cfd5d25b52991a2e825a894b31c17c6c1..d9977ea30677bdce5db8241509c01951386224c0 100644
(file)
--- a/
opcodes/maxq-dis.c
+++ b/
opcodes/maxq-dis.c
@@
-182,7
+182,7
@@
get_reg_name (unsigned char reg_code, type1 arg_pos)
if (reg_code == mem_acc->opcode)
{
for (syntax = mem_access_syntax_table;
-
mem_access_syntax_table != NULL || mem_access_syntax_table
->name;
+
syntax != NULL && syntax
->name;
++syntax)
if (!strcmp (mem_acc->name, syntax->name))
{