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
2
eval.c
2
eval.c
@ -605,7 +605,7 @@ rb_interrupt(void)
|
|||||||
enum {raise_opt_cause, raise_max_opt};
|
enum {raise_opt_cause, raise_max_opt};
|
||||||
|
|
||||||
static int
|
static int
|
||||||
extract_raise_opts(int argc, VALUE *argv, VALUE *opts)
|
extract_raise_opts(int argc, const VALUE *argv, VALUE *opts)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
if (argc > 0) {
|
if (argc > 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user