From e699a1d5e627c6248a14e00e813d5a7a53f0947d Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Wed, 5 Dec 2012 21:53:06 -0700 Subject: [PATCH] regexec.c: Nits coding standards-type changing --- regexec.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/regexec.c b/regexec.c index 3b2f012..d235cde 100644 --- a/regexec.c +++ b/regexec.c @@ -4455,7 +4455,10 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog) if (nextchr == '\r' /* And if it was CR, and the next is LF, match the LF */ && locinput < PL_regeol - && UCHARAT(locinput) == '\n') locinput++; + && UCHARAT(locinput) == '\n') + { + locinput++; + } } else { @@ -4473,7 +4476,7 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog) char *starting = locinput; /* In case have to backtrack the last prepend */ - char *previous_prepend = 0; + char *previous_prepend = NULL; LOAD_UTF8_CHARCLASS_GCB(); -- 2.7.4