From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3707655648829436094==" MIME-Version: 1.0 From: Mark Wielaard To: elfutils-devel@lists.fedorahosted.org Subject: Re: [PATCH] libdw: Initialize variables in getcfi_gnu_eh_frame. Date: Wed, 03 Dec 2014 14:13:23 +0100 Message-ID: <1417612403.18974.6.camel@bordewijk.wildebeest.org> In-Reply-To: 1417128338-28732-1-git-send-email-mjw@redhat.com --===============3707655648829436094== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 > + > + * dwarf_getcfi_elf.c (getcfi_gnu_eh_frame): Initialize > + search_table_entries and search_table_encoding. I pushed this to master now. --===============3707655648829436094==--