From de13ef81f041f7f51687ef1873c74e853b97e73a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 24 Apr 2015 17:13:22 +0100 Subject: 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. --- binutils/ieee.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'binutils/ieee.c') 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) -- cgit v1.1