[Pcre-svn] [639] code/trunk: Minor tidy.

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [639] code/trunk: Minor tidy.
Revision: 639
          http://www.exim.org/viewvc/pcre2?view=rev&revision=639
Author:   ph10
Date:     2016-12-31 14:17:14 +0000 (Sat, 31 Dec 2016)
Log Message:
-----------
Minor tidy.


Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/src/pcre2test.c


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2016-12-31 14:12:53 UTC (rev 638)
+++ code/trunk/ChangeLog    2016-12-31 14:17:14 UTC (rev 639)
@@ -281,7 +281,10 @@


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
--------------------------


Modified: code/trunk/src/pcre2test.c
===================================================================
--- code/trunk/src/pcre2test.c    2016-12-31 14:12:53 UTC (rev 638)
+++ code/trunk/src/pcre2test.c    2016-12-31 14:17:14 UTC (rev 639)
@@ -7293,7 +7293,6 @@
 {
 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 @@
     exit(1);
 #else
     int rc;
+    uint32_t stack_size;
     struct rlimit rlim;
     if (U32OVERFLOW(uli))
       {