aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-05-27 12:56:06 +0000
committerNick Clifton <nickc@redhat.com>2011-05-27 12:56:06 +0000
commit8e1adb8d3cd07c41af91faf1fd6167f485c82b48 (patch)
tree6703056278bbfdcb9b0090e89156db5d8c90e668 /gas
parent04c932a298845c85fe07c86c50bd93ee3ac78880 (diff)
downloadgdb-8e1adb8d3cd07c41af91faf1fd6167f485c82b48.zip
gdb-8e1adb8d3cd07c41af91faf1fd6167f485c82b48.tar.gz
gdb-8e1adb8d3cd07c41af91faf1fd6167f485c82b48.tar.bz2
* config/tc-s390.c (md_begin): Remove unused variable dup_insn.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-s390.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 24d72e8..cd4546c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-27 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
+
2011-05-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* config/tc-s390.c (md_gather_operands): Fix check for floating
diff --git a/gas/config/tc-s390.c b/gas/config/tc-s390.c
index 180a67f..9bc582f 100644
--- a/gas/config/tc-s390.c
+++ b/gas/config/tc-s390.c
@@ -527,7 +527,6 @@ md_begin (void)
{
register const struct s390_opcode *op;
const struct s390_opcode *op_end;
- bfd_boolean dup_insn = FALSE;
const char *retval;
/* Give a warning if the combination -m64-bit and -Aesa is used. */
@@ -548,11 +547,8 @@ md_begin (void)
{
retval = hash_insert (s390_opformat_hash, op->name, (void *) op);
if (retval != (const char *) NULL)
- {
- as_bad (_("Internal assembler error for instruction format %s"),
- op->name);
- dup_insn = TRUE;
- }
+ as_bad (_("Internal assembler error for instruction format %s"),
+ op->name);
}
s390_setup_opcodes ();