From 346447005a28ddabddd7ec6755ebd855b8fb4378 Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Fri, 14 Apr 2017 11:42:02 +0000 Subject: [PATCH] Remove redundant line of code (a typo really). --- ChangeLog | 2 ++ src/pcre2_compile.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ca793e6..2796327 100644 --- a/ChangeLog +++ b/ChangeLog @@ -131,6 +131,8 @@ pattern is set up so as to initialize any padding the compiler might have included. This avoids valgrind warnings when a compiled pattern is copied, in particular when it is serialized. +24. Remove a redundant line of code left in accidentally a long time ago. + Version 10.23 14-February-2017 ------------------------------ diff --git a/src/pcre2_compile.c b/src/pcre2_compile.c index 0c46b52..9ce3dee 100644 --- a/src/pcre2_compile.c +++ b/src/pcre2_compile.c @@ -7200,7 +7200,6 @@ for (;; pptr++) if (mclength == 1 || req_caseopt == 0) { - firstcu = mcbuffer[0] | req_caseopt; firstcu = mcbuffer[0]; firstcuflags = req_caseopt; if (mclength != 1)