[PATCH] libdw: Initialize variables in getcfi_gnu_eh_frame.
mjw at redhat.com
Wed Dec 3 13:13:23 UTC 2014
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"
> +++ b/libdw/ChangeLog
> @@ -1,3 +1,8 @@
> +2014-11-27 Mark Wielaard <mjw at redhat.com>
> + * dwarf_getcfi_elf.c (getcfi_gnu_eh_frame): Initialize
> + search_table_entries and search_table_encoding.
I pushed this to master now.
More information about the elfutils-devel