Skip to content

Commit

Permalink
sv_isbool(): mark the context parameter unused
Browse files Browse the repository at this point in the history
This warned on MSVC
  • Loading branch information
tonycoz committed Jul 4, 2023
1 parent 9075f9d commit a383e1c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inline.h
Expand Up @@ -3491,6 +3491,7 @@ Perl_mortal_getenv(const char * str)
PERL_STATIC_INLINE bool
Perl_sv_isbool(pTHX_ const SV *sv)
{
PERL_UNUSED_CONTEXT;
return SvBoolFlagsOK(sv) && BOOL_INTERNALS_sv_isbool(sv);
}

Expand Down

0 comments on commit a383e1c

Please sign in to comment.