diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-03-09 20:48:50 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-03-09 20:48:50 +0000 |
commit | ccac19ea313fd7152f9ddb5b7dd90f6ebe7ef7b9 (patch) | |
tree | 7ebd18c002b5c4487f782c5c633af1a3a6b5d551 /regexec.c | |
parent | 00e74f145ac4513e21f301b1f6ee9d0075465ab5 (diff) | |
download | perl-ccac19ea313fd7152f9ddb5b7dd90f6ebe7ef7b9.tar.gz |
The Coverity audit is upset that the scream_olds variable is not
directly initialized, although it is likely initialized after
another variable takes a reference to it.
p4raw-id: //depot/perl@27448
Diffstat (limited to 'regexec.c')
-rw-r--r-- | regexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1632,7 +1632,7 @@ Perl_regexec_flags(pTHX_ register regexp *prog, char *stringarg, register char * I32 dontbother = 0; /* how many characters not to try at end */ I32 end_shift = 0; /* Same for the end. */ /* CC */ I32 scream_pos = -1; /* Internal iterator of scream. */ - char *scream_olds; + char *scream_olds = NULL; SV* oreplsv = GvSV(PL_replgv); const bool do_utf8 = DO_UTF8(sv); const I32 multiline = prog->reganch & PMf_MULTILINE; |