summaryrefslogtreecommitdiff
path: root/src/casetab.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-10-10 23:32:29 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2013-10-10 23:32:29 -0700
commitb9ff995e4c091ca99c8752bb996e155ce7147a00 (patch)
tree2606b847e60957359df7942004b774b4c68b119f /src/casetab.c
parent33ac026599404c7d5177eecb4fcd0aa527180ee2 (diff)
downloademacs-b9ff995e4c091ca99c8752bb996e155ce7147a00.tar.gz
* lisp.h (eassume): New macro.
Also, include <verify.h>, for 'assume'. * alloc.c (bool_vector_payload_bytes, Fmake_bool_vector) (vroundup, vector_nbytes): * data.c (bool_vector_spare_mask, bool_vector_binop_driver) (Fbool_vector_not, Fbool_vector_count_matches) (Fbool_vector_count_matches_at): Use eassume, not eassert. * casetab.c (set_identity, shuffle): * composite.c (composition_gstring_put_cache): * dispnew.c (update_frame_1): * ftfont.c (ftfont_shape_by_flt): * image.c (gif_load): * intervals.c (offset_intervals): * macfont.m (macfont_shape): Remove calls to 'assume' that are no longer needed, because --enable-gcc-warnings no longer generates bogus warnings when these calls are removed.
Diffstat (limited to 'src/casetab.c')
-rw-r--r--src/casetab.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/casetab.c b/src/casetab.c
index 69cd784f4cc..e4907f5b628 100644
--- a/src/casetab.c
+++ b/src/casetab.c
@@ -205,7 +205,6 @@ set_identity (Lisp_Object table, Lisp_Object c, Lisp_Object elt)
from = to = XINT (c);
to++;
- assume (to <= MAX_CHAR + 1);
for (; from < to; from++)
CHAR_TABLE_SET (table, from, make_number (from));
}
@@ -232,7 +231,6 @@ shuffle (Lisp_Object table, Lisp_Object c, Lisp_Object elt)
from = to = XINT (c);
to++;
- assume (to <= MAX_CHAR + 1);
for (; from < to; from++)
{
Lisp_Object tem = Faref (table, elt);