Minor code fix to avoid static analyzer complaint.
This commit is contained in:
parent
663662806a
commit
80c57b59f6
|
@ -185,6 +185,10 @@ repeated conditional subpattern, and can be found to be anchored if the minimum
|
||||||
quantifier is one or more. I can't see much use for a repeated anchored
|
quantifier is one or more. I can't see much use for a repeated anchored
|
||||||
pattern, but the behaviour is now consistent.
|
pattern, but the behaviour is now consistent.
|
||||||
|
|
||||||
|
41. Minor addition to pcre2_jit_compile.c to avoid static analyzer complaint
|
||||||
|
(for an event that could never occur but you had to have external information
|
||||||
|
to know that).
|
||||||
|
|
||||||
|
|
||||||
Version 10.31 12-February-2018
|
Version 10.31 12-February-2018
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
|
@ -7,7 +7,7 @@ and semantics are as close as possible to those of the Perl 5 language.
|
||||||
|
|
||||||
Written by Philip Hazel
|
Written by Philip Hazel
|
||||||
Original API code Copyright (c) 1997-2012 University of Cambridge
|
Original API code Copyright (c) 1997-2012 University of Cambridge
|
||||||
New API code Copyright (c) 2016-2017 University of Cambridge
|
New API code Copyright (c) 2016-2018 University of Cambridge
|
||||||
|
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
@ -5901,6 +5901,8 @@ for (i = 0; i < 32; i++)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (len == 0) return FALSE; /* Should never occur, but stops analyzers complaining. */
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
j = 0;
|
j = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue