Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion embed.fnc
Original file line number Diff line number Diff line change
Expand Up @@ -3014,7 +3014,7 @@ Cdp |void |save_set_svflags \
Aadp |char * |savesharedpv |NULLOK const char *pv

: NULLOK only to suppress a compiler warning
Aadp |char * |savesharedpvn |NULLOK const char * const pv \
Aadp |char * |savesharedpvn |NN const char * const pv \
|const STRLEN len
Cdp |void |save_shared_pvref \
|NN char **str
Expand Down
3 changes: 2 additions & 1 deletion proto.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1359,10 +1359,10 @@ Perl_savesharedpv(pTHX_ const char *pv)
char *
Perl_savesharedpvn(pTHX_ const char *const pv, const STRLEN len)
{
char *const newaddr = (char*)PerlMemShared_malloc(len + 1);

PERL_ARGS_ASSERT_SAVESHAREDPVN;
PERL_UNUSED_CONTEXT;
/* PERL_ARGS_ASSERT_SAVESHAREDPVN; */

char *const newaddr = (char*)PerlMemShared_malloc(len + 1);

if (!newaddr) {
croak_no_mem_ext(STR_WITH_LEN("util:savesharedpvn"));
Expand Down
Loading