From facf03f2c394065666184d7d842e1488eaba355d Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 2 Feb 2012 11:55:43 +0000 Subject: bfd/ 2012-02-02 Tristan Gingold * mach-o.c (bfd_mach_o_read_header): Silent uninitialized variable warning. gas/ 2012-02-02 Tristan Gingold * config/obj-macho.c (obj_mach_o_zerofill): Silent uninitialized variable warning. --- gas/ChangeLog | 5 +++++ gas/config/obj-macho.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index f37e6b0..143667a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2012-02-02 Tristan Gingold + + * config/obj-macho.c (obj_mach_o_zerofill): Silent + uninitialized variable warning. + 2012-02-02 Nick Clifton PR gas/13224 diff --git a/gas/config/obj-macho.c b/gas/config/obj-macho.c index f0cb43e..f4706ab 100644 --- a/gas/config/obj-macho.c +++ b/gas/config/obj-macho.c @@ -434,7 +434,7 @@ obj_mach_o_zerofill (int ignore ATTRIBUTE_UNUSED) symbolS *sym = NULL; unsigned int align = 0; unsigned int specified_mask = 0; - offsetT size; + offsetT size = 0; #ifdef md_flush_pending_output md_flush_pending_output (); -- cgit v1.1