summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorGerd Möllmann <gerd@gnu.org>2022-09-30 13:25:15 +0200
committerGerd Möllmann <gerd@gnu.org>2022-09-30 13:25:15 +0200
commit009249e0c6d3bb6c4a3714a279ae91807d133c77 (patch)
treef8ac01c4abcddd71b5bf652a37617d4dcc2fac41 /src/alloc.c
parenta7ad0f806c1ed82f4d0710111aa92417e04a1110 (diff)
downloademacs-009249e0c6d3bb6c4a3714a279ae91807d133c77.tar.gz
emacs-009249e0c6d3bb6c4a3714a279ae91807d133c77.tar.bz2
emacs-009249e0c6d3bb6c4a3714a279ae91807d133c77.zip
Remove the per-tree null node
"make check" shows 0 unexpcted. * src/itree.h (itree_null): Declare extern. (ITREE_NULL): New macro (struct interval_tree): Remove null member. * src/alloc.c (mark_overlays): Use ITREE_NULL. * src/itree.c: Use ITREE_NULL insteads of a tree's null. * src/pdumper.c (dump_buffer): Use ITREE_NULL.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 8dc45659b50..db8f39a60e0 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -6519,7 +6519,7 @@ mark_overlays (struct interval_tree *it, struct interval_node *in)
they use the `null` node instead when the overlay is not deleted
(i.e. is within an overlay tree). */
eassert (in);
- if (in == &it->null)
+ if (in == ITREE_NULL)
return;
mark_object (in->data);