From c037f1f61696d64cbe42b6bb4bd1f0558578146d Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 15 Mar 2012 01:39:00 +0000 Subject: * adjust style. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_insnhelper.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'vm_insnhelper.c') diff --git a/vm_insnhelper.c b/vm_insnhelper.c index bcdf0d7a34..4f24f0f640 100644 --- a/vm_insnhelper.c +++ b/vm_insnhelper.c @@ -106,7 +106,8 @@ vm_pop_frame(rb_thread_t *th) /* method dispatch */ static inline VALUE -rb_arg_error_new(int argc, int min, int max) { +rb_arg_error_new(int argc, int min, int max) +{ VALUE err_mess = 0; if (min == max) { err_mess = rb_sprintf("wrong number of arguments (%d for %d)", argc, min); @@ -164,7 +165,8 @@ unknown_keyword_error(const rb_iseq_t *iseq, VALUE hash) } void -rb_error_arity(int argc, int min, int max) { +rb_error_arity(int argc, int min, int max) +{ rb_exc_raise(rb_arg_error_new(argc, min, max)); } -- cgit v1.2.3