[ruby-cvs:67443] kosaki:r60262 (trunk): kill "variable set but not used" warning

kosaki at ruby-lang.org kosaki at ruby-lang.org
Sat Oct 21 21:57:15 JST 2017

kosaki	2017-10-21 21:57:14 +0900 (Sat, 21 Oct 2017)

  New Revision: 60262


    kill "variable set but not used" warning
    Currently, scanner.c makes following warning. Fix it.
    ../../../ext/psych/yaml/scanner.c: In function ?\226?\128?\152yaml_parser_decrease_flow_level?\226?\128?\153:
    ../../../ext/psych/yaml/scanner.c:1189:23: warning: variable ?\226?\128?\152dummy_key?\226?\128?\153 set but not used [-Wunused-but-set-variable]
         yaml_simple_key_t dummy_key;    /* Used to eliminate a compiler warning. */

  Modified files:

More information about the ruby-cvs mailing list