2012-01-10 Tristan Gingold <gingold@adacore.com>

* mach-o.c (bfd_mach_o_build_commands): Avoid uninitialized false
	warning.
This commit is contained in:
Tristan Gingold 2012-01-10 11:59:28 +00:00
parent 1598539f98
commit 2a65a88eea
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-01-10 Tristan Gingold <gingold@adacore.com>
* mach-o.c (bfd_mach_o_build_commands): Avoid uninitialized false
warning.
2012-01-10 Tristan Gingold <gingold@adacore.com>
* bfdio.c (bfd_tell): Handle nested archives.

View File

@ -2154,7 +2154,7 @@ bfd_mach_o_build_commands (bfd *abfd)
{
bfd_mach_o_data_struct *mdata = bfd_mach_o_get_data (abfd);
unsigned int wide = mach_o_wide_p (&mdata->header);
bfd_mach_o_segment_command *seg;
bfd_mach_o_segment_command *seg = NULL;
bfd_mach_o_load_command *cmd;
bfd_mach_o_load_command *symtab_cmd;
unsigned symcind;