]> git.eshelyaron.com Git - emacs.git/commit
Simplify itree_null initialization
authorMatt Armstrong <matt@rfc20.org>
Mon, 10 Oct 2022 15:32:56 +0000 (08:32 -0700)
committerMatt Armstrong <matt@rfc20.org>
Tue, 11 Oct 2022 02:37:51 +0000 (19:37 -0700)
commita154259bfacf7f1406794a952e80a8197b9a83fb
tree7b2303de85faf557eab0dfdd451663ba795249ce
parent51a8e375ebea2e6e05eed623bddfb323b8e408f0
Simplify itree_null initialization

* src/itree.c (null_is_sane): call eassert directly, check
REAR_ADVANCE, FRONT_ADVANCE.  Add FIXME that PARENT is still
read/write.
(itree_null): initialize statically
(itree_init): remove initialization code, call eassert(null_is_sane())
(check_tree_common): call eassert (null_is_sane())
src/itree.c