This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
SvPVXtrue(): mark the context parameter as unused
authorTony Cook <tony@develop-help.com>
Tue, 18 Apr 2023 23:18:52 +0000 (09:18 +1000)
committerTony Cook <tony@develop-help.com>
Tue, 4 Jul 2023 00:31:07 +0000 (10:31 +1000)
sv_inline.h

index 3adc130..ff41e6d 100644 (file)
@@ -567,6 +567,8 @@ Perl_SvPVXtrue(pTHX_ SV *sv)
 {
     PERL_ARGS_ASSERT_SVPVXTRUE;
 
+    PERL_UNUSED_CONTEXT;
+
     if (! (XPV *) SvANY(sv)) {
         return false;
     }