summaryrefslogtreecommitdiff
path: root/bfd/mach-o.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/mach-o.c')
-rw-r--r--bfd/mach-o.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/mach-o.c b/bfd/mach-o.c
index 07ca65a1f5..1234899233 100644
--- a/bfd/mach-o.c
+++ b/bfd/mach-o.c
@@ -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;