[ruby-cvs:62290] nobu:r55127 (trunk): remove unnecessary volatiles

nobu at ruby-lang.org nobu at ruby-lang.org
Mon May 23 13:31:55 JST 2016


nobu	2016-05-23 13:31:55 +0900 (Mon, 23 May 2016)

  New Revision: 55127

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

  Log:
    remove unnecessary volatiles
    
    * ext/dbm/dbm.c (fdbm_initialize): used for rb_sys_fail_str.
    
    * ext/sdbm/init.c (fsdbm_initialize): ditto.
    
    * ext/tk/tcltklib.c (lib_do_one_event_core): no effect.
    
    * ext/tk/tkutil/tkutil.c (tk_eval_cmd, tk_get_eval_string): no
      effect if tail call optimized.
    
    * ext/tk/tkutil/tkutil.c (cbsubst_table_setup): set to const.

  Modified files:
    trunk/ext/dbm/dbm.c
    trunk/ext/sdbm/init.c
    trunk/ext/tk/tcltklib.c
    trunk/ext/tk/tkutil/tkutil.c


More information about the ruby-cvs mailing list