diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-07-18 19:55:33 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-07-18 19:56:36 +0900 |
commit | 56d983697fc7c40aa09526fd73cb4a2dd31637f0 (patch) | |
tree | 4d3e0be39a500ac30baf7320e2818b9d6f7aa1f3 /object.c | |
parent | ab37e6ee7ef6d1da8a7b9b4722466d251ace4582 (diff) |
Constified a local table
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3397,7 +3397,7 @@ rb_bool_expected(VALUE obj, const char *flagname) int rb_opts_exception_p(VALUE opts, int default_value) { - static ID kwds[1] = {idException}; + static const ID kwds[1] = {idException}; VALUE exception; if (rb_get_kwargs(opts, kwds, 0, 1, &exception)) return rb_bool_expected(exception, "exception"); |