aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-16 18:19:01 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-12-19 09:52:16 +0900
commit76035e5bb6a5b44621fd1c11a0553780474d1c01 (patch)
tree948d9a695c658bc61853c88f02954fcd0943ddcb
parente732e0074e53e7ddbaf863197ec3775d7e9d4516 (diff)
downloadruby-76035e5bb6a5b44621fd1c11a0553780474d1c01.tar.gz
Adjusted the format
-rw-r--r--vm_args.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/vm_args.c b/vm_args.c
index 6c105f0ee0..a9027e3f8c 100644
--- a/vm_args.c
+++ b/vm_args.c
@@ -570,7 +570,8 @@ fill_keys_values(st_data_t key, st_data_t val, st_data_t ptr)
}
static inline int
-ignore_keyword_hash_p(VALUE keyword_hash, const rb_iseq_t * const iseq) {
+ignore_keyword_hash_p(VALUE keyword_hash, const rb_iseq_t * const iseq)
+{
if (!(iseq->body->param.flags.has_kw) &&
!(iseq->body->param.flags.has_kwrest)) {
keyword_hash = rb_check_hash_type(keyword_hash);
@@ -593,7 +594,8 @@ VALUE rb_iseq_location(const rb_iseq_t *iseq);
*/
static st_table *caller_to_callees = 0;
-static VALUE rb_warn_check(const rb_execution_context_t * const ec, const rb_iseq_t *const iseq)
+static VALUE
+rb_warn_check(const rb_execution_context_t * const ec, const rb_iseq_t *const iseq)
{
if (!iseq) return 0;