summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2005-12-30 17:05:58 -0600
committerH.Merijn Brand <h.m.brand@xs4all.nl>2006-01-01 10:42:16 +0000
commitcbbf89328f29f925842d180c1410e324b297744d (patch)
tree6f63c59aeb96d4eaafa9b8f1ee25b94fd72730c3 /pp.c
parent359842a5ea25b12844b1a94485cc2aa186d8bdbe (diff)
downloadperl-cbbf89328f29f925842d180c1410e324b297744d.tar.gz
Making 0 pointers to NULLs
Message-ID: <20051231050558.GA29093@petdance.com> p4raw-id: //depot/perl@26558
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp.c b/pp.c
index d679f6ac21..1ebbf499d3 100644
--- a/pp.c
+++ b/pp.c
@@ -2918,7 +2918,7 @@ PP(pp_substr)
const char *tmps;
const I32 arybase = PL_curcop->cop_arybase;
SV *repl_sv = NULL;
- const char *repl = 0;
+ const char *repl = NULL;
STRLEN repl_len;
const int num_args = PL_op->op_private & 7;
bool repl_need_utf8_upgrade = FALSE;
@@ -4018,7 +4018,7 @@ PP(pp_splice)
I32 newlen;
I32 after;
I32 diff;
- SV **tmparyval = 0;
+ SV **tmparyval = NULL;
const MAGIC * const mg = SvTIED_mg((SV*)ary, PERL_MAGIC_tied);
if (mg) {