This is the mail archive of the elfutils-devel@sourceware.org mailing list for the elfutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] libdw: Initialize variables in getcfi_gnu_eh_frame.


On Thu, 2014-11-27 at 23:45 +0100, Mark Wielaard wrote:
> Some older GCCs are not clever enough to realize that when search_table
> is NULL not only are search_table_entries and search_table_encoding not
> initialized, they are also not used. Giving "may be used uninitialized"
> errors.
> [...]
> +++ b/libdw/ChangeLog
> @@ -1,3 +1,8 @@
> +2014-11-27  Mark Wielaard  <mjw@redhat.com>
> +
> +	* dwarf_getcfi_elf.c (getcfi_gnu_eh_frame): Initialize
> +	search_table_entries and search_table_encoding.

I pushed this to master now.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]