summaryrefslogtreecommitdiff
path: root/utf8.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 /utf8.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 'utf8.c')
-rw-r--r--utf8.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/utf8.c b/utf8.c
index 23562557f6..3d9f00f4be 100644
--- a/utf8.c
+++ b/utf8.c
@@ -2235,9 +2235,12 @@ Perl_ibcmp_utf8(pTHX_ const char *s1, char **pe1, register UV l1, bool u1, const
{
register const U8 *p1 = (const U8*)s1;
register const U8 *p2 = (const U8*)s2;
- register const U8 *f1 = 0, *f2 = 0;
- register U8 *e1 = 0, *q1 = 0;
- register U8 *e2 = 0, *q2 = 0;
+ register const U8 *f1 = NULL;
+ register U8 *f2 = NULL;
+ register U8 *e1 = NULL;
+ register U8 *q1 = NULL;
+ register U8 *e2 = NULL;
+ register U8 *q2 = NULL;
STRLEN n1 = 0, n2 = 0;
U8 foldbuf1[UTF8_MAXBYTES_CASE+1];
U8 foldbuf2[UTF8_MAXBYTES_CASE+1];