aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorPaul Eggert2022-05-31 01:19:32 -0700
committerPaul Eggert2022-05-31 01:26:47 -0700
commitc4da5db04ba611b9a646c325e0e6eee165834f7a (patch)
treeebdde5742d645d2a7217d9d1f08e27ee6944de03 /src/buffer.c
parent1f6973241a57b24818126f513ec753772468c757 (diff)
downloademacs-c4da5db04ba611b9a646c325e0e6eee165834f7a.tar.gz
emacs-c4da5db04ba611b9a646c325e0e6eee165834f7a.zip
Pacify GCC 12 in Fmove_overlay
* src/buffer.c (Fmove_overlay): Use BASE_EQ, not EQ. This pacifies GCC 12 -Wanalyzer-null-dereference.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 548d7b1c65c..d2b2f255756 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -4107,7 +4107,7 @@ buffer. */)
4107 n_end = marker_position (OVERLAY_END (overlay)); 4107 n_end = marker_position (OVERLAY_END (overlay));
4108 4108
4109 /* If the overlay has changed buffers, do a thorough redisplay. */ 4109 /* If the overlay has changed buffers, do a thorough redisplay. */
4110 if (!EQ (buffer, obuffer)) 4110 if (!BASE_EQ (buffer, obuffer))
4111 { 4111 {
4112 /* Redisplay where the overlay was. */ 4112 /* Redisplay where the overlay was. */
4113 if (ob) 4113 if (ob)