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.
This commit is contained in:
parent
7a5c933c7c
commit
de13ef81f0
5 changed files with 26 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue