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:
parent
324879716e
commit
e0a0c2b802
1 changed files with 1 additions and 1 deletions
2
eval.c
2
eval.c
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue