aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-cris.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-12-14 14:10:57 +0000
committerNick Clifton <nickc@redhat.com>2011-12-14 14:10:57 +0000
commit66dbb2bbf4253b78894e6cf09597cdb093512c33 (patch)
tree928df9e054d7c89da5397927530ac24af19d9048 /gas/config/tc-cris.c
parentf68e81fcd4015029cf382711ca0f70c85814c5b3 (diff)
downloadgdb-66dbb2bbf4253b78894e6cf09597cdb093512c33.zip
gdb-66dbb2bbf4253b78894e6cf09597cdb093512c33.tar.gz
gdb-66dbb2bbf4253b78894e6cf09597cdb093512c33.tar.bz2
* 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.
Diffstat (limited to 'gas/config/tc-cris.c')
-rw-r--r--gas/config/tc-cris.c2
1 files changed, 1 insertions, 1 deletions
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;