* config/tc-cris.c (md_convert_frag): Mark the length_code local
authorNick Clifton <nickc@redhat.com>
Wed, 14 Dec 2011 14:10:57 +0000 (14:10 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 14 Dec 2011 14:10:57 +0000 (14:10 +0000)
variable as unused as it is only used when ENABLE_CHECKING is on.

gas/ChangeLog
gas/config/tc-cris.c

index e6b166625651b1d51caed4bdbc5371e075cae5c2..245c716efe99a630fd3a5831d032bb990593b969 100644 (file)
@@ -1,3 +1,8 @@
+2011-12-14  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-cris.c (md_convert_frag): Mark the length_code local
+       variable as unused as it is only used when ENABLE_CHECKING is on.
+
 2011-12-14  Iain Sandoe  <iains@gcc.gnu.org>
 
        * config/obj-macho.c: Add some more top-level comments.
index 1eb4ad1b02a2ec5eef6c301c3bef9417300dc5f7..657c7edee326e130575c0f4f96982d21f2777d25 100644 (file)
@@ -815,7 +815,7 @@ md_convert_frag (bfd *abfd ATTRIBUTE_UNUSED, segT sec ATTRIBUTE_UNUSED,
 
   /* Used to check integrity of the relaxation.
      One of 2 = long, 1 = word, or 0 = byte.  */
-  int length_code;
+  int length_code ATTRIBUTE_UNUSED;
 
   /* Size in bytes of variable-sized part of frag.  */
   int var_part_size = 0;
This page took 0.0277 seconds and 4 git commands to generate.