diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-02-01 22:42:12 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-02-01 22:42:12 +0900 |
commit | 9445a14d313346dea3379495000b8f4637250479 (patch) | |
tree | 271ae747fdafa63310e8b7970fb154971deb6c1f /ruby.c | |
parent | ee3176a27afd943247fb6e82e95e2d1efafa4c50 (diff) | |
download | ruby-9445a14d313346dea3379495000b8f4637250479.tar.gz |
Suppress an unused-function warning
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1798,6 +1798,7 @@ copy_str(VALUE str, rb_encoding *enc, bool intern) return rb_enc_interned_str(RSTRING_PTR(str), RSTRING_LEN(str), enc); } +#ifdef USE_YJIT // Check that an environment variable is set to a truthy value static bool env_var_truthy(const char *name) @@ -1815,6 +1816,7 @@ env_var_truthy(const char *name) return false; } +#endif static VALUE process_options(int argc, char **argv, ruby_cmdline_options_t *opt) |