summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-22 04:28:13 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-22 04:28:13 +0000
commit559d021d200a2e5457fa89a8ddbaf15ab1aeecb9 (patch)
tree1d792cc7c0f375ed4657c294201065858db2ad73 /vm_insnhelper.c
parentdc217e2d25d1994aadaaaac98179d374fc9c3366 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@16524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index f31641d4f4..9fb2631db4 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) {