regcomp.c: Silence compiler warning.
authorKarl Williamson <public@khwilliamson.com>
Thu, 23 Aug 2012 14:37:58 +0000 (08:37 -0600)
committerKarl Williamson <public@khwilliamson.com>
Sun, 26 Aug 2012 05:21:27 +0000 (23:21 -0600)
The warning that this variable can be used uninitialized is spurious,
but silence it nonetheless.

regcomp.c

index 87dc545..5076335 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -10460,7 +10460,7 @@ tryagain:
            STRLEN foldlen;
             U8 node_type;
             bool next_is_quantifier;
-            char * oldp;
+            char * oldp = NULL;
 
            ender = 0;
             node_type = compute_EXACTish(pRExC_state);