public inbox for archer-commits@sourceware.org
help / color / mirror / Atom feed
* [SCM] users/jkratoch/indexcxx-debugnames: dwarf.c: In function âdisplay_debug_namesâ: dwarf.c:7856:44: error: âsecond_abbrev_tagâ may be used uninitialized in this function [-Werror=maybe-uninitialized] - Victor Leschuk
@ 2017-02-27 17:06 jkratoch
0 siblings, 0 replies; only message in thread
From: jkratoch @ 2017-02-27 17:06 UTC (permalink / raw)
To: archer-commits
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1506 bytes --]
The branch, users/jkratoch/indexcxx-debugnames has been updated
via 387034081e3b27b4cdf4692c1c731198fd0c6168 (commit)
from 08dc6ceb26465eec9b4ac66bb4689434017bd78a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email.
- Log -----------------------------------------------------------------
commit 387034081e3b27b4cdf4692c1c731198fd0c6168
Author: Jan Kratochvil <jan.kratochvil@redhat.com>
Date: Mon Feb 27 18:05:56 2017 +0100
dwarf.c: In function âdisplay_debug_namesâ:
dwarf.c:7856:44: error: âsecond_abbrev_tagâ may be used uninitialized in this function [-Werror=maybe-uninitialized]
- Victor Leschuk
-----------------------------------------------------------------------
Summary of changes:
binutils/dwarf.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
First 500 lines of diff:
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 21000c2..a63227a 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -7835,7 +7835,8 @@ display_debug_names (struct dwarf_section *section, void *file)
// initial tag read of the second entry, then it becomes 0 for the
// first entry for real printing etc.
int tagno = -2;
- dwarf_vma second_abbrev_tag;
+ /* Initialize it due to a false compiler warning. */
+ dwarf_vma second_abbrev_tag = -1;
for (;;)
{
unsigned int bytes_read;
hooks/post-receive
--
Repository for Project Archer.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-02-27 17:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-27 17:06 [SCM] users/jkratoch/indexcxx-debugnames: dwarf.c: In function âdisplay_debug_namesâ: dwarf.c:7856:44: error: âsecond_abbrev_tagâ may be used uninitialized in this function [-Werror=maybe-uninitialized] - Victor Leschuk jkratoch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).