summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2020-01-22 09:18:08 -0800
committerJeremy Evans <code@jeremyevans.net>2020-01-22 11:19:13 -0800
commite18b817b1f0a4c318f1f0fe54fceaa5cbc85e8ab (patch)
treef9f07e27da476af8794414176f4bf084c17e233a /error.c
parent28d31ead34baff1c4abc0d7d902ef4bc1d576fb2 (diff)
Make taint warnings non-verbose instead of verbose
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2856
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.c b/error.c
index 1690658b8c..1702a709b4 100644
--- a/error.c
+++ b/error.c
@@ -3035,14 +3035,14 @@ rb_check_frozen(VALUE obj)
void
rb_error_untrusted(VALUE obj)
{
- rb_warning("rb_error_untrusted is deprecated and will be removed in Ruby 3.2.");
+ rb_warn("rb_error_untrusted is deprecated and will be removed in Ruby 3.2.");
}
#undef rb_check_trusted
void
rb_check_trusted(VALUE obj)
{
- rb_warning("rb_check_trusted is deprecated and will be removed in Ruby 3.2.");
+ rb_warn("rb_check_trusted is deprecated and will be removed in Ruby 3.2.");
}
void