tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] compiler warning with 'elf: rewrite version support'


From: Herman ten Brugge
Subject: [Tinycc-devel] compiler warning with 'elf: rewrite version support'
Date: Tue, 26 Nov 2019 08:48:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

I get a compiler warning with the recent change to tccelf.c:

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;
      |                        ^~~


The probably should be fixed.

Regards,

    Herman



reply via email to

[Prev in Thread] Current Thread [Next in Thread]