This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Commit: Remove unused variable from tc-s390.c
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Fri, 27 May 2011 13:56:24 +0100
- Subject: Commit: Remove unused variable from tc-s390.c
Hi Guys,
I am checking in the patch below to remove a set, but unused variable
in the md_begin() function in tc-s390.c.
Cheers
Nick
gas/ChangeLog
2011-05-27 Nick Clifton <nickc@redhat.com>
* config/tc-s390.c (md_begin): Remove unused variable dup_insn.
Index: gas/config/tc-s390.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-s390.c,v
retrieving revision 1.68
diff -u -3 -p -r1.68 tc-s390.c
--- gas/config/tc-s390.c 24 May 2011 16:13:28 -0000 1.68
+++ gas/config/tc-s390.c 27 May 2011 12:54:09 -0000
@@ -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 ();