mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm.c (vm_jump_tag_but_local_jump): exc is not used if val is nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
34c7492e2c
commit
655685612e
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Sep 27 03:15:51 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* vm.c (vm_jump_tag_but_local_jump): exc is not used if val is nil.
|
||||
|
||||
Sat Sep 27 03:12:40 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/socket/socket.c (host_str): numeric address should be unsigned.
|
||||
|
|
2
vm.c
2
vm.c
|
@ -841,8 +841,8 @@ vm_make_jump_tag_but_local_jump(int state, VALUE val)
|
|||
void
|
||||
vm_jump_tag_but_local_jump(int state, VALUE val)
|
||||
{
|
||||
VALUE exc = vm_make_jump_tag_but_local_jump(state, val);
|
||||
if (val != Qnil) {
|
||||
VALUE exc = vm_make_jump_tag_but_local_jump(state, val);
|
||||
rb_exc_raise(exc);
|
||||
}
|
||||
JUMP_TAG(state);
|
||||
|
|
Loading…
Reference in a new issue