diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-09-30 08:54:43 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-09-30 08:54:43 -0700 |
commit | 72da393d4131836933f104abf0f605e09970f134 (patch) | |
tree | 439e2dc6d527a89bd7597df8dd8b88a593826bcf | |
parent | 92c6e4fe5d6f30a24fe15795a6a3b25afd0b24c9 (diff) | |
download | gdb-72da393d4131836933f104abf0f605e09970f134.zip gdb-72da393d4131836933f104abf0f605e09970f134.tar.gz gdb-72da393d4131836933f104abf0f605e09970f134.tar.bz2 |
Don't assign alt twice
PR binutils/20657
* i386-dis.c (putop): Don't assign alt twice.
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/i386-dis.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index d58f5d8..20ebe69 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2016-09-30 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/20657 + * i386-dis.c (putop): Don't assign alt twice. + 2016-09-29 Jiong Wang <jiong.wang@arm.com> PR target/20553 diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index fb75747..c08109e 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -14095,7 +14095,6 @@ putop (const char *in_template, int sizeflag) cond = 0; break; case '{': - alt = 0; if (intel_syntax) { while (*++p != '|') |