From 70daa788a5b601e28482effcb3ad7a12827d09f1 Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Sat, 31 Dec 2016 14:17:14 +0000 Subject: [PATCH] Minor tidy. --- ChangeLog | 3 +++ src/pcre2test.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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)) {