Avoid some VS compiler warnings.

This commit is contained in:
Philip.Hazel 2019-12-26 15:10:26 +00:00
parent f3fd8b18cb
commit 777582d4de
3 changed files with 5 additions and 3 deletions

View File

@ -24,6 +24,8 @@ now correctly backtracked, so this unnecessary restriction has been removed.
5. Added PCRE2_SUBSTITUTE_LITERAL.
6. Avoid some VS compiler warnings.
Version 10.34 21-November-2019
------------------------------

View File

@ -12872,7 +12872,7 @@ jump_list *match = NULL;
struct sljit_jump *next_alt = NULL;
struct sljit_jump *accept_exit = NULL;
struct sljit_label *quit;
struct sljit_put_label *put_label;
struct sljit_put_label *put_label = NULL;
/* Recurse captures then. */
common->then_trap = NULL;

View File

@ -574,7 +574,7 @@ match(PCRE2_SPTR start_eptr, PCRE2_SPTR start_ecode, PCRE2_SIZE *ovector,
heapframe *F; /* Current frame pointer */
heapframe *N = NULL; /* Temporary frame pointers */
heapframe *P = NULL;
heapframe *assert_accept_frame; /* For passing back the frame with captures */
heapframe *assert_accept_frame = NULL; /* For passing back a frame with captures */
PCRE2_SIZE frame_copy_size; /* Amount to copy when creating a new frame */
/* Local variables that do not need to be preserved over calls to RRMATCH(). */