diff options
author | Tristan Gingold <gingold@adacore.com> | 2012-02-02 11:55:43 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2012-02-02 11:55:43 +0000 |
commit | facf03f2c394065666184d7d842e1488eaba355d (patch) | |
tree | ca5ac745d0d175d898c1da4b32558f3c705d3997 /gas | |
parent | cd99171ce11492f3cbbbbdae988601d0124bd4ef (diff) | |
download | gdb-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/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/obj-macho.c | 2 |
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 (); |