[Pcre-svn] [1696] code/trunk: Remove redundant line of code.

Inizio della pagina
Delete this message
Autore: Subversion repository
Data:  
To: pcre-svn
Oggetto: [Pcre-svn] [1696] code/trunk: Remove redundant line of code.
Revision: 1696
          http://vcs.pcre.org/viewvc?view=rev&revision=1696
Author:   ph10
Date:     2017-04-14 12:45:57 +0100 (Fri, 14 Apr 2017)
Log Message:
-----------
Remove redundant line of code.


Modified Paths:
--------------
    code/trunk/ChangeLog
    code/trunk/pcre_compile.c


Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog    2017-04-07 10:59:09 UTC (rev 1695)
+++ code/trunk/ChangeLog    2017-04-14 11:45:57 UTC (rev 1696)
@@ -40,7 +40,9 @@
 9. When pcretest called pcre_copy_substring() in 32-bit mode, it set the buffer 
 length incorrectly, which could result in buffer overflow.


+10. Remove redundant line of code (accidentally left in ages ago).

+
Version 8.40 11-January-2017
----------------------------


Modified: code/trunk/pcre_compile.c
===================================================================
--- code/trunk/pcre_compile.c    2017-04-07 10:59:09 UTC (rev 1695)
+++ code/trunk/pcre_compile.c    2017-04-14 11:45:57 UTC (rev 1696)
@@ -8225,7 +8225,6 @@


       if (mclength == 1 || req_caseopt == 0)
         {
-        firstchar = mcbuffer[0] | req_caseopt;
         firstchar = mcbuffer[0];
         firstcharflags = req_caseopt;