From ea12e9fa6d409e71765cce7a77ca3d58342faf17 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Fri, 9 Mar 2018 21:31:16 -0700 Subject: [PATCH] regcomp.c: Quiet false warning One compiler is complaining that this variable may be used uninitialized. It's not true, but set it to NULL anyway. --- regcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regcomp.c b/regcomp.c index 92c8fe4..4594bca 100644 --- a/regcomp.c +++ b/regcomp.c @@ -12309,7 +12309,7 @@ S_grok_bslash_N(pTHX_ RExC_state_t *pRExC_state, char * endbrace; /* points to '}' following the name */ char* p = RExC_parse; /* Temporary */ - SV * substitute_parse; + SV * substitute_parse = NULL; char *orig_end; char *save_start; I32 flags; -- 1.8.3.1