aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-02-02 11:55:43 +0000
committerTristan Gingold <gingold@adacore.com>2012-02-02 11:55:43 +0000
commitfacf03f2c394065666184d7d842e1488eaba355d (patch)
treeca5ac745d0d175d898c1da4b32558f3c705d3997 /gas
parentcd99171ce11492f3cbbbbdae988601d0124bd4ef (diff)
downloadgdb-facf03f2c394065666184d7d842e1488eaba355d.zip
gdb-facf03f2c394065666184d7d842e1488eaba355d.tar.gz
gdb-facf03f2c394065666184d7d842e1488eaba355d.tar.bz2
bfd/
2012-02-02 Tristan Gingold <gingold@adacore.com> * mach-o.c (bfd_mach_o_read_header): Silent uninitialized variable warning. gas/ 2012-02-02 Tristan Gingold <gingold@adacore.com> * config/obj-macho.c (obj_mach_o_zerofill): Silent uninitialized variable warning.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/obj-macho.c2
2 files changed, 6 insertions, 1 deletions
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 <gingold@adacore.com>
+
+ * config/obj-macho.c (obj_mach_o_zerofill): Silent
+ uninitialized variable warning.
+
2012-02-02 Nick Clifton <nickc@redhat.com>
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 ();