[ruby-cvs:69469] k0kubun:r62288 (trunk): mjit.c: fix -Wdiscarded-qualifiers warning

k0kubun at ruby-lang.org k0kubun at ruby-lang.org
Wed Feb 7 23:08:24 JST 2018


k0kubun	2018-02-07 23:08:24 +0900 (Wed, 07 Feb 2018)

  New Revision: 62288

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

  Log:
    mjit.c: fix -Wdiscarded-qualifiers warning
    
    ../mjit.c: In function ?\226?\128?\152system_tmpdir?\226?\128?\153:
    ../mjit.c:1231:9: warning: assignment discards ?\226?\128?\152const?\226?\128?\153 qualifier from pointer target type [-Wdiscarded-qualifiers]
      tmpdir = "/tmp";
             ^
    ../mjit.c: At top level:

  Modified files:
    trunk/mjit.c


More information about the ruby-cvs mailing list