[ruby-cvs:67445] kosaki:r60264 (trunk): kill "value computed is not used" warning

kosaki at ruby-lang.org kosaki at ruby-lang.org
Sat Oct 21 22:02:04 JST 2017


kosaki	2017-10-21 22:02:04 +0900 (Sat, 21 Oct 2017)

  New Revision: 60264

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

  Log:
    kill "value computed is not used" warning
    
    Currently, gcc claims your coding style is not good. Shut it up.
    
    ../../../ext/psych/yaml/emitter.c: In function ?\226?\128?\152yaml_emitter_write_plain_scalar?\226?\128?\153:
    ../../../ext/psych/yaml/emitter.c:28:6: warning: value computed is not used [-Wunused-value]
          && ((emitter->line_break == YAML_CR_BREAK ?                                \
          ^

  Modified files:
    trunk/ext/psych/yaml/emitter.c


More information about the ruby-cvs mailing list