aboutsummaryrefslogtreecommitdiffstats
path: root/src/intervals.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intervals.c')
-rw-r--r--src/intervals.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intervals.c b/src/intervals.c
index 0e3b684f570..f2a2a16f4ad 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -676,6 +676,7 @@ find_interval (register INTERVAL tree, register ptrdiff_t position)
676 676
677 while (1) 677 while (1)
678 { 678 {
679 eassert (tree);
679 if (relative_position < LEFT_TOTAL_LENGTH (tree)) 680 if (relative_position < LEFT_TOTAL_LENGTH (tree))
680 { 681 {
681 tree = tree->left; 682 tree = tree->left;