summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-03-28 23:00:15 +0000
committerNicholas Clark <nick@ccl4.org>2009-03-28 23:00:15 +0000
commit7536ed57886a47a6a6af672eef2ce348b3b4a684 (patch)
treefc237a03bc9267d16a0dfb27d0e5a9c356cbecac /proto.h
parentb11720532d118951e85d8a680330b826a6ab4227 (diff)
downloadperl-7536ed57886a47a6a6af672eef2ce348b3b4a684.tar.gz
In Perl_sv_setsv_cow(), dstr can be NULL.
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/proto.h b/proto.h
index f5cb2d2098..552b9f66d9 100644
--- a/proto.h
+++ b/proto.h
@@ -5968,10 +5968,9 @@ PERL_CALLCONV int Perl_my_socketpair(int family, int type, int protocol, int fd[
PERL_CALLCONV int Perl_my_dirfd(pTHX_ DIR* dir);
#ifdef PERL_OLD_COPY_ON_WRITE
PERL_CALLCONV SV* Perl_sv_setsv_cow(pTHX_ SV* dstr, SV* sstr)
- __attribute__nonnull__(pTHX_1)
__attribute__nonnull__(pTHX_2);
#define PERL_ARGS_ASSERT_SV_SETSV_COW \
- assert(dstr); assert(sstr)
+ assert(sstr)
#endif