summaryrefslogtreecommitdiff
path: root/ext/pathname
diff options
context:
space:
mode:
authorJeremy Evans <[email protected]>2020-01-22 09:18:08 -0800
committerJeremy Evans <[email protected]>2020-01-22 11:19:13 -0800
commite18b817b1f0a4c318f1f0fe54fceaa5cbc85e8ab ()
treef9f07e27da476af8794414176f4bf084c17e233a /ext/pathname
parent28d31ead34baff1c4abc0d7d902ef4bc1d576fb2 (diff)
Make taint warnings non-verbose instead of verbose
Notes: Merged: https://.com/ruby/ruby/pull/2856
-rw-r--r--ext/pathname/pathname.c4
1 files changed, 2 insertions, 2 deletions
@@ -138,7 +138,7 @@ path_freeze(VALUE self)
static VALUE
path_taint(VALUE self)
{
- rb_warning("Pathname#taint is deprecated and will be removed in Ruby 3.2.");
return self;
}
@@ -151,7 +151,7 @@ path_taint(VALUE self)
static VALUE
path_untaint(VALUE self)
{
- rb_warning("Pathname#untaint is deprecated and will be removed in Ruby 3.2.");
return self;
}