[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] compiler warning with 'elf: rewrite version support'
From: |
Michael Matz |
Subject: |
Re: [Tinycc-devel] compiler warning with 'elf: rewrite version support' |
Date: |
Wed, 27 Nov 2019 16:37:15 +0000 (UTC) |
User-agent: |
Alpine 2.21 (LSU 202 2017-01-01) |
Hi,
On Tue, 26 Nov 2019, Herman ten Brugge via Tinycc-devel wrote:
> tccelf.c: In function 'tcc_output_file':
> tccelf.c:615:23: warning: 'vna' may be used uninitialized in this function
> [-Wmaybe-uninitialized]
> 615 | vna->vna_next = 0;
> | ~~~~~~~~~~~~~~^~~
> tccelf.c:593:24: note: 'vna' was declared here
> 593 | ElfW(Vernaux) *vna;
Blaeh, false positive.
> The probably should be fixed.
Worked around in mob.
Ciao,
Michael.