diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-07-06 00:09:05 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2021-07-06 00:09:27 +0900 |
commit | 3db7f6353fd3b047b1fa9ea5d88a9bce36e8d46d (patch) | |
tree | f45cb8c7fd4d4825c5b746b82604e686897540ed /ruby.c | |
parent | 3dacc14fd3dded7feda31c195f6bf6c096c91e21 (diff) |
Suppress unused-but-set-variable warning
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -934,6 +934,8 @@ feature_option(const char *str, int len, void *arg, const unsigned int enable) rb_exc_raise(rb_exc_new_str(rb_eRuntimeError, mesg)); #undef ADD_FEATURE_NAME } +#else + (void)set; #endif rb_warn("unknown argument for --%s: `%.*s'", enable ? "enable" : "disable", len, str); |