From e0a0c2b802b4c77b18f074cbe89498b8cd8860c8 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 3 May 2016 01:22:18 +0000 Subject: [PATCH] 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 --- eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval.c b/eval.c index 3df3b5dd77..fca073f337 100644 --- a/eval.c +++ b/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) {