summaryrefslogtreecommitdiff
path: root/include/ruby/internal/newobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ruby/internal/newobj.h')
-rw-r--r--include/ruby/internal/newobj.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ruby/internal/newobj.h b/include/ruby/internal/newobj.h
index a8a5557a25..ba1d7cbe59 100644
--- a/include/ruby/internal/newobj.h
+++ b/include/ruby/internal/newobj.h
@@ -172,6 +172,8 @@ RBIMPL_ATTR_DEPRECATED(("This is no longer how Object#clone works."))
static inline void
rb_clone_setup(VALUE clone, VALUE obj)
{
+ (void)clone;
+ (void)obj;
return;
}
@@ -189,6 +191,8 @@ RBIMPL_ATTR_DEPRECATED(("This is no longer how Object#dup works."))
static inline void
rb_dup_setup(VALUE dup, VALUE obj)
{
+ (void)dup;
+ (void)obj;
return;
}