Minor code tidy.

This commit is contained in:
ph10 2018-04-21 16:43:49 +00:00
parent b62b6516a6
commit 153170b59d
2 changed files with 4 additions and 2 deletions

View File

@ -49,6 +49,8 @@ offset is set zero for early errors.
(b) pcre2grep snprintf() workaround as used elsewhere in the tree.
(c) Support for non-C99 snprintf() that returns -1 in the overflow case.
11. Minor tidy of pcre2_dfa_matgch() code.
Version 10.31 12-February-2018

View File

@ -2615,8 +2615,6 @@ for (;;)
case OP_COND:
case OP_SCOND:
{
PCRE2_SIZE local_offsets[1000];
int local_workspace[1000];
int codelink = (int)GET(code, 1);
PCRE2_UCHAR condcode;
@ -2672,6 +2670,8 @@ for (;;)
else
{
PCRE2_SIZE local_offsets[2];
int local_workspace[1000];
int rc;
PCRE2_SPTR asscode = code + LINK_SIZE + 1;
PCRE2_SPTR endasscode = asscode + GET(asscode, 1);