Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sv_inline.h:Perl_new_sv: prevent unused parameter warnings
This would warn if you built with -DDEBUG_LEAKING_SCALARS and without -DDEBUGGING and without -DPERL_MEM_LOG, since these enable the code that actually uses the parameters. sv_inline.h: In function 'Perl_new_sv': sv_inline.h:72:31: warning: unused parameter 'file' [-Wunused-parameter] 72 | Perl_new_sv(pTHX_ const char *file, int line, const char *func) | ~~~~~~~~~~~~^~~~ sv_inline.h:72:41: warning: unused parameter 'line' [-Wunused-parameter] 72 | Perl_new_sv(pTHX_ const char *file, int line, const char *func) | ~~~~^~~~ sv_inline.h:72:59: warning: unused parameter 'func' [-Wunused-parameter] 72 | Perl_new_sv(pTHX_ const char *file, int line, const char *func) | ~~~~~~~~~~~~^~~~ Fixes #22806
- Loading branch information