diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-25 09:55:17 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-05-25 09:55:17 +0000 |
commit | 458b79e47b704ad0241a67ad7fe5a111502986b3 (patch) | |
tree | a230400985209761ec78cf17501fd43e41556219 /proc.c | |
parent | a0b3e032020b77898cbc4be04559456a3cb6f10b (diff) | |
download | ruby-458b79e47b704ad0241a67ad7fe5a111502986b3.tar.gz |
* proc.c (rb_method_entry_min_max_arity): fix missing break in switch.
This was introduced in r38236, which is not intentional apparently.
This has caused no actual harm because VM_METHOD_TYPE_OPTIMIZED is
not used except for OPTIMIZED_METHOD_TYPE_SEND, but may do in
future. Coverity Scan found this inadequacy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r-- | proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1791,6 +1791,7 @@ rb_method_entry_min_max_arity(const rb_method_entry_t *me, int *max) default: break; } + break; } case VM_METHOD_TYPE_REFINED: *max = UNLIMITED_ARGUMENTS; |