From: Nick Clifton Date: Wed, 14 Dec 2011 14:10:57 +0000 (+0000) Subject: * config/tc-cris.c (md_convert_frag): Mark the length_code local X-Git-Tag: sid-snapshot-20120101~154 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66dbb2bbf4253b78894e6cf09597cdb093512c33;p=platform%2Fupstream%2Fbinutils.git * 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. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index e6b1666..245c716 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2011-12-14 Nick Clifton + + * 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 * config/obj-macho.c: Add some more top-level comments. diff --git a/gas/config/tc-cris.c b/gas/config/tc-cris.c index 1eb4ad1..657c7ed 100644 --- a/gas/config/tc-cris.c +++ b/gas/config/tc-cris.c @@ -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;