diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2013-10-10 23:32:29 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2013-10-10 23:32:29 -0700 |
commit | b9ff995e4c091ca99c8752bb996e155ce7147a00 (patch) | |
tree | 2606b847e60957359df7942004b774b4c68b119f /src/composite.c | |
parent | 33ac026599404c7d5177eecb4fcd0aa527180ee2 (diff) | |
download | emacs-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/composite.c')
-rw-r--r-- | src/composite.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/composite.c b/src/composite.c index 4f125522e38..689ae95fa17 100644 --- a/src/composite.c +++ b/src/composite.c @@ -674,7 +674,6 @@ composition_gstring_put_cache (Lisp_Object gstring, ptrdiff_t len) len = j; } - assume (len <= TYPE_MAXIMUM (ptrdiff_t) - 2); copy = Fmake_vector (make_number (len + 2), Qnil); LGSTRING_SET_HEADER (copy, Fcopy_sequence (header)); for (i = 0; i < len; i++) |