1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

values doesn't needs to be volatile since it is passed to rb_struct_initialize.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-09-08 16:29:50 +00:00
parent a8b4677b14
commit 29dcf02239

View file

@ -1248,7 +1248,7 @@ r_object0(struct load_arg *arg, int *ivp, VALUE extmod)
case TYPE_STRUCT: case TYPE_STRUCT:
{ {
VALUE klass, mem; VALUE klass, mem;
volatile VALUE values; VALUE values;
volatile long i; /* gcc 2.7.2.3 -O2 bug?? */ volatile long i; /* gcc 2.7.2.3 -O2 bug?? */
long len; long len;
ID slot; ID slot;