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

* vm_insnhelper.c (vm_throw_start): Remove too much ";"

[fix GH-1432]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
hsbt 2016-09-17 13:46:07 +00:00
parent 014da9124a
commit a333b8e64e
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sat Sep 17 22:46:02 2016 Koichi ITO <koic.ito@gmail.com>
* vm_insnhelper.c (vm_throw_start): Remove too much ";"
[fix GH-1432]
Sat Sep 17 19:19:06 2016 Kazuki Yamaguchi <k@rhe.jp>
* test/openssl/test_ssl.rb (test_ctx_options): Fix test failure on

View file

@ -1039,7 +1039,7 @@ vm_throw_start(rb_thread_t *const th, rb_control_frame_t *const reg_cfp, enum ru
int i;
for (i=0; i<ct_size; i++) {
const struct iseq_catch_table_entry * const entry = &ct->entries[i];;
const struct iseq_catch_table_entry * const entry = &ct->entries[i];
if (entry->type == CATCH_TYPE_BREAK && entry->start < epc && entry->end >= epc) {
if (entry->cont == epc) { /* found! */