diff options
author | Nobuyoshi Nakada <[email protected]> | 2019-12-16 18:19:01 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2019-12-19 09:52:16 +0900 |
commit | 76035e5bb6a5b44621fd1c11a0553780474d1c01 (patch) | |
tree | 948d9a695c658bc61853c88f02954fcd0943ddcb /vm_args.c | |
parent | e732e0074e53e7ddbaf863197ec3775d7e9d4516 (diff) |
Adjusted the format
Diffstat (limited to 'vm_args.c')
-rw-r--r-- | vm_args.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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; |