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

eval.c: constify

* eval.c (extract_raise_opts): constify argv.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-05-03 01:22:18 +00:00
parent 324879716e
commit e0a0c2b802

2
eval.c
View file

@ -605,7 +605,7 @@ rb_interrupt(void)
enum {raise_opt_cause, raise_max_opt};
static int
extract_raise_opts(int argc, VALUE *argv, VALUE *opts)
extract_raise_opts(int argc, const VALUE *argv, VALUE *opts)
{
int i;
if (argc > 0) {