summaryrefslogtreecommitdiff
path: root/bfd/mach-o.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2010-06-27 04:07:50 +0000
committerAlan Modra <amodra@bigpond.net.au>2010-06-27 04:07:50 +0000
commit66f699d3eb5ba03231caea21f1b16549f2bb297a (patch)
tree5550c89cb23dff9867cd00a4003d4526997fb3e8 /bfd/mach-o.c
parentb88f2e554360bba59a1743795bda874298ade519 (diff)
downloadgdb-66f699d3eb5ba03231caea21f1b16549f2bb297a.tar.gz
fix set but unused variable warnings
Diffstat (limited to 'bfd/mach-o.c')
-rw-r--r--bfd/mach-o.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index d913d3c45ef..a02030e5dcd 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -630,13 +630,11 @@ bfd_mach_o_write_thread (bfd *abfd, bfd_mach_o_load_command *command)
unsigned int i;
unsigned char buf[8];
unsigned int offset;
- unsigned int nflavours;
BFD_ASSERT ((command->type == BFD_MACH_O_LC_THREAD)
|| (command->type == BFD_MACH_O_LC_UNIXTHREAD));
offset = 8;
- nflavours = 0;
for (i = 0; i < cmd->nflavours; i++)
{
BFD_ASSERT ((cmd->flavours[i].size % 4) == 0);