diff options
| author | Paul Eggert | 2021-10-12 11:54:32 -0700 |
|---|---|---|
| committer | Paul Eggert | 2021-10-12 11:54:32 -0700 |
| commit | ebeaa54f1986b6414c6af60660dc6bd53cbf3bf9 (patch) | |
| tree | 930a38c1547d339975ffbe217b3199e711b1eaec /src/buffer.c | |
| parent | 56d1f42f3007c9b4be8ddb6322e8e2ed21d5da95 (diff) | |
| download | emacs-ebeaa54f1986b6414c6af60660dc6bd53cbf3bf9.tar.gz emacs-ebeaa54f1986b6414c6af60660dc6bd53cbf3bf9.zip | |
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>.
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index f405bcb5834..eca2843e2bc 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -3843,7 +3843,9 @@ fix_overlays_before (struct buffer *bp, ptrdiff_t prev, ptrdiff_t pos) | |||
| 3843 | or the found one ends before PREV, | 3843 | or the found one ends before PREV, |
| 3844 | or the found one is the last one in the list, | 3844 | or the found one is the last one in the list, |
| 3845 | we don't have to fix anything. */ | 3845 | we don't have to fix anything. */ |
| 3846 | if (!tail || end < prev || !tail->next) | 3846 | if (!tail) |
| 3847 | return; | ||
| 3848 | if (end < prev || !tail->next) | ||
| 3847 | return; | 3849 | return; |
| 3848 | 3850 | ||
| 3849 | right_pair = parent; | 3851 | right_pair = parent; |