From 76035e5bb6a5b44621fd1c11a0553780474d1c01 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 16 Dec 2019 18:19:01 +0900 Subject: [PATCH] Adjusted the format --- vm_args.c | 6 ++++-- 1 file 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;