diff --git a/ext/dbm/dbm.c b/ext/dbm/dbm.c index 7f9d96e3fd..07044d6f9f 100644 --- a/ext/dbm/dbm.c +++ b/ext/dbm/dbm.c @@ -145,8 +145,7 @@ fdbm_alloc(VALUE klass) static VALUE fdbm_initialize(int argc, VALUE *argv, VALUE obj) { - volatile VALUE file; - VALUE vmode, vflags; + VALUE file, vmode, vflags; DBM *dbm; struct dbmdata *dbmp; int mode, flags = 0; diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c index c984152382..684f31b98f 100644 --- a/ext/sdbm/init.c +++ b/ext/sdbm/init.c @@ -179,8 +179,7 @@ fsdbm_alloc(VALUE klass) static VALUE fsdbm_initialize(int argc, VALUE *argv, VALUE obj) { - volatile VALUE file; - VALUE vmode; + VALUE file, vmode; DBM *dbm; struct dbmdata *dbmp; int mode; diff --git a/ext/tk/tcltklib.c b/ext/tk/tcltklib.c index 658ba4bffa..f3278f2a94 100644 --- a/ext/tk/tcltklib.c +++ b/ext/tk/tcltklib.c @@ -3035,7 +3035,7 @@ lib_do_one_event_core(argc, argv, self, is_ip) VALUE self; int is_ip; { - volatile VALUE vflags; + VALUE vflags; int flags; int found_event; diff --git a/ext/tk/tkutil/tkutil.c b/ext/tk/tkutil/tkutil.c index 1f0a720415..cd1fa2bc8d 100644 --- a/ext/tk/tkutil/tkutil.c +++ b/ext/tk/tkutil/tkutil.c @@ -187,7 +187,7 @@ tk_eval_cmd(argc, argv, self) VALUE argv[]; VALUE self; { - volatile VALUE cmd, rest; + VALUE cmd, rest; rb_scan_args(argc, argv, "1*", &cmd, &rest); return rb_eval_cmd(cmd, rest, 0); @@ -952,7 +952,7 @@ tk_get_eval_string(argc, argv, self) VALUE *argv; VALUE self; { - volatile VALUE obj, enc_flag; + VALUE obj, enc_flag; if (rb_scan_args(argc, argv, "11", &obj, &enc_flag) == 1) { enc_flag = Qnil; @@ -1563,7 +1563,7 @@ cbsubst_table_setup(argc, argv, self) VALUE *argv; VALUE self; { - volatile VALUE cbsubst_obj; + VALUE cbsubst_obj; VALUE key_inf; VALUE longkey_inf; VALUE proc_inf;