summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--pcre_compile.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8d531bc..c6610e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -40,6 +40,8 @@ encountered a character class with a possessive repeat, for example [a-f]{3}+.
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
----------------------------
diff --git a/pcre_compile.c b/pcre_compile.c
index c787813..85df41a 100644
--- a/pcre_compile.c
+++ b/pcre_compile.c
@@ -8225,7 +8225,6 @@ for (;; ptr++)
if (mclength == 1 || req_caseopt == 0)
{
- firstchar = mcbuffer[0] | req_caseopt;
firstchar = mcbuffer[0];
firstcharflags = req_caseopt;