forked from Imagelibrary/binutils-gdb
fix set but unused variable warnings
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user