summaryrefslogtreecommitdiff
path: root/hash.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-12-22 16:37:35 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-06-30 10:47:01 +0900
commit8118d435d000adec3023a0ff509baa11cc73fabb (patch)
tree6da87e4fddc90d6d27f00815f8dcbf4069c42c97 /hash.c
parentd1998d8767affe58be0bd09ec536dae9198a7fbd (diff)
downloadruby-8118d435d000adec3023a0ff509baa11cc73fabb.tar.gz
rb_warn_deprecated_to_remove_at [Feature #17432]
At compilation time with RUBY_DEBUG enabled, check if the removal version has been reached.
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hash.c b/hash.c
index 7ef30b43bc..e4c742322b 100644
--- a/hash.c
+++ b/hash.c
@@ -5043,7 +5043,7 @@ env_fetch(int argc, VALUE *argv, VALUE _)
int
rb_env_path_tainted(void)
{
- rb_warn_deprecated_to_remove("rb_env_path_tainted", "3.2");
+ rb_warn_deprecated_to_remove_at("3.2", "rb_env_path_tainted", NULL);
return 0;
}