summaryrefslogtreecommitdiff
path: root/src/intervals.h
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-08-08 09:23:02 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-08-08 09:23:02 +0400
commit9c08a8d4b549df18f815412d2a5494d28253179f (patch)
tree0d42c53782a8fa40b1d5a21e575d3736f8427108 /src/intervals.h
parent2c2d9c9cd0a409778ebc3618888fc9795c2a9135 (diff)
downloademacs-9c08a8d4b549df18f815412d2a5494d28253179f.tar.gz
Check total length of intervals with eassert.
* intervals.h (CHECK_TOTAL_LENGTH): Remove. * intervals.c: Change all users to eassert.
Diffstat (limited to 'src/intervals.h')
-rw-r--r--src/intervals.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/intervals.h b/src/intervals.h
index 2bf16d64862..fa9fe8d6fdb 100644
--- a/src/intervals.h
+++ b/src/intervals.h
@@ -191,15 +191,6 @@ interval_copy_parent (INTERVAL d, INTERVAL s)
#define INTERVAL_PARENT_OR_NULL(i) \
(INTERVAL_HAS_PARENT (i) ? INTERVAL_PARENT (i) : 0)
-/* Abort if interval I's size is negative. */
-#define CHECK_TOTAL_LENGTH(i) \
- do \
- { \
- if ((i)->total_length < 0) \
- abort (); \
- } \
- while (0)
-
/* Reset this interval to its vanilla, or no-property state. */
#define RESET_INTERVAL(i) \
{ \