diff --git a/ChangeLog b/ChangeLog index e9dcf6e..2d2317a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -281,6 +281,9 @@ Now such patterns are no longer completely auto-possessified. 44. Added a new Windows script RunGrepTest.bat, courtesy of Jason Hood. +45. Minor cosmetic fix to pcre2test: move a variable that is not used under +Windows into the "not Windows" code. + Version 10.22 29-July-2016 -------------------------- diff --git a/src/pcre2test.c b/src/pcre2test.c index d747337..d9c8ed8 100644 --- a/src/pcre2test.c +++ b/src/pcre2test.c @@ -7293,7 +7293,6 @@ main(int argc, char **argv) { uint32_t yield = 0; uint32_t op = 1; -uint32_t stack_size; BOOL notdone = TRUE; BOOL quiet = FALSE; BOOL showtotaltimes = FALSE; @@ -7426,6 +7425,7 @@ while (argc > 1 && argv[op][0] == '-' && argv[op][1] != 0) exit(1); #else int rc; + uint32_t stack_size; struct rlimit rlim; if (U32OVERFLOW(uli)) {