This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] remove some unused globals


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=85e53f6272cc71b16db89239a3a542184d01996c

commit 85e53f6272cc71b16db89239a3a542184d01996c
Author: Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
Date:   Tue Apr 12 10:02:58 2016 -0400

    remove some unused globals
    
    gas/ChangeLog:
    
    2016-04-14  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
    
    	* config/tc-m32c.c (M32C_Macros): Remove.
    	* config/tc-msp430.c (option_numbers): Likewise.

Diff:
---
 gas/ChangeLog          | 5 +++++
 gas/config/tc-m32c.c   | 2 +-
 gas/config/tc-msp430.c | 2 +-
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/gas/ChangeLog b/gas/ChangeLog
index f95cd7a..46fb0fe 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2016-04-14  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+	* config/tc-m32c.c (M32C_Macros): Remove.
+	* config/tc-msp430.c (option_numbers): Likewise.
+
 2016-04-14  Andrew Burgess  <andrew.burgess@embecosm.com>
 
 	* testsuite/gas/arc/nps400-3.d: New file.
diff --git a/gas/config/tc-m32c.c b/gas/config/tc-m32c.c
index 70f0aeb..b28797b 100644
--- a/gas/config/tc-m32c.c
+++ b/gas/config/tc-m32c.c
@@ -475,7 +475,7 @@ enum {
   M32C_MACRO_ADJNZ_3,
   M32C_MACRO_ADJNZ_4,
   M32C_MACRO_ADJNZ_5,
-} M32C_Macros;
+};
 
 static struct {
   int insn;
diff --git a/gas/config/tc-msp430.c b/gas/config/tc-msp430.c
index f9df729..8e95b1d 100644
--- a/gas/config/tc-msp430.c
+++ b/gas/config/tc-msp430.c
@@ -684,7 +684,7 @@ enum
 {
   OPTION_SILICON_ERRATA = OPTION_MD_BASE,
   OPTION_SILICON_ERRATA_WARN,
-} option_numbers;
+};
 
 static unsigned int silicon_errata_fix = 0;
 static unsigned int silicon_errata_warn = 0;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]