[ruby-cvs:71854] k0kubun:r64762 (trunk): addr2line.c: fix -Wmaybe-uninitialized

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Sun Sep 16 22:22:00 JST 2018


k0kubun	2018-09-16 22:22:00 +0900 (Sun, 16 Sep 2018)

  New Revision: 64762

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64762

  Log:
    addr2line.c: fix -Wmaybe-uninitialized
    
    ../addr2line.c: In function ?\226?\128?\152fill_lines?\226?\128?\153:
    ../addr2line.c:709:8: warning: ?\226?\128?\152file?\226?\128?\153 may be used uninitialized in this function [-Wmaybe-uninitialized]
         if (file != NULL) {
            ^
    ../addr2line.c:535:11: warning: ?\226?\128?\152filesize?\226?\128?\153 may be used uninitialized in this function [-Wmaybe-uninitialized]
         off_t filesize;
               ^~~~~~~~

  Modified files:
    trunk/addr2line.c


More information about the ruby-cvs mailing list