aboutsummaryrefslogtreecommitdiff
path: root/binutils/ieee.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-04-24 17:13:22 +0100
committerNick Clifton <nickc@redhat.com>2015-04-24 17:13:22 +0100
commitde13ef81f041f7f51687ef1873c74e853b97e73a (patch)
treeac4a0f49bc8e11516977363bba28319767a5fd31 /binutils/ieee.c
parent7a5c933c7c2c3926b13a047c64f2af1d3ce8e1db (diff)
downloadgdb-de13ef81f041f7f51687ef1873c74e853b97e73a.zip
gdb-de13ef81f041f7f51687ef1873c74e853b97e73a.tar.gz
gdb-de13ef81f041f7f51687ef1873c74e853b97e73a.tar.bz2
Fix compile time warning messages about variables being used before they are initialised.
PR 18313 bin * ieee.c (ieee_read_cxx_class): Initialise the varargs variable. * readelf.c (uncompress_section_contents): Zero initialise the zstream structure. bfd * compress.c (decompress_contents): Zero initialse the z_stream structure.
Diffstat (limited to 'binutils/ieee.c')
-rw-r--r--binutils/ieee.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/ieee.c b/binutils/ieee.c
index e93fcaa..a0d69d1 100644
--- a/binutils/ieee.c
+++ b/binutils/ieee.c
@@ -2954,7 +2954,7 @@ ieee_read_cxx_class (struct ieee_info *info, const bfd_byte **pp,
{
debug_type return_type;
const debug_type *arg_types;
- bfd_boolean varargs;
+ bfd_boolean varargs = FALSE;
if (debug_get_type_kind (dhandle, pv->type)
!= DEBUG_KIND_FUNCTION)