Autor: ph10 Data: Dla: pcre exim Temat: Re: [pcre-dev] Possible c&p mistake in the code?
On Fri, 18 Apr 2014, ph10@??? wrote:
> On Fri, 18 Apr 2014, Giuseppe D'Angelo wrote:
>
> > In pcre_exec.c line 5683 it looks like both branches of the if/else
> > are identical. Is that a mistake and they should differ somehow, or
> > can the if be removed?
>
> That is very odd! I wonder how it got that way? I have made a note to
> look at it more carefully in due course, but at first glance I think the
> if can be removed.
I had a closer look and I think what has happened is that code that was
originally different has got changed over the years until the two
branches ended up the same. I have merged the branches and committed the
patch.