diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-22 04:28:13 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-05-22 04:28:13 +0000 |
commit | 333a8d305c98f9e9c43ed2cf1e4bc01b6372701f (patch) | |
tree | 1d792cc7c0f375ed4657c294201065858db2ad73 /vm_insnhelper.c | |
parent | 30030136e9a486999637b0e3f32cb8dbf37de1c9 (diff) | |
download | ruby-333a8d305c98f9e9c43ed2cf1e4bc01b6372701f.tar.gz ruby-333a8d305c98f9e9c43ed2cf1e4bc01b6372701f.tar.xz ruby-333a8d305c98f9e9c43ed2cf1e4bc01b6372701f.zip |
* eval.c, vm.c, vm_core.h, vm_insnhelper.c: specify "const".
* vm_opts.h: add a OPT_TOKEN_THREADED_CODE macro.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r-- | vm_insnhelper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c index f31641d4f..9fb2631db 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -1209,7 +1209,7 @@ vm_throw(rb_thread_t *const th, rb_control_frame_t * const reg_cfp, rb_num_t level = throw_state >> 16; if (state != 0) { - VALUE *pt; + VALUE *pt = 0; int i; if (flag != 0) { if (throw_state & 0x4000) { |