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

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to