mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-12 09:28:24 +00:00
Pacify GCC 11 -fanalyzer on x86-64
* src/buffer.c (fix_overlays_before): Redo slightly to work around GCC bug 102692 <https://gcc.gnu.org/bugzilla//show_bug.cgi?id=102692>.
This commit is contained in:
parent
56d1f42f30
commit
ebeaa54f19
@ -3843,7 +3843,9 @@ fix_overlays_before (struct buffer *bp, ptrdiff_t prev, ptrdiff_t pos)
|
||||
or the found one ends before PREV,
|
||||
or the found one is the last one in the list,
|
||||
we don't have to fix anything. */
|
||||
if (!tail || end < prev || !tail->next)
|
||||
if (!tail)
|
||||
return;
|
||||
if (end < prev || !tail->next)
|
||||
return;
|
||||
|
||||
right_pair = parent;
|
||||
|
Loading…
Reference in New Issue
Block a user