diff options
| author | Paul Eggert | 2013-10-10 23:32:29 -0700 |
|---|---|---|
| committer | Paul Eggert | 2013-10-10 23:32:29 -0700 |
| commit | b9ff995e4c091ca99c8752bb996e155ce7147a00 (patch) | |
| tree | 2606b847e60957359df7942004b774b4c68b119f /src/ftfont.c | |
| parent | 33ac026599404c7d5177eecb4fcd0aa527180ee2 (diff) | |
| download | emacs-b9ff995e4c091ca99c8752bb996e155ce7147a00.tar.gz emacs-b9ff995e4c091ca99c8752bb996e155ce7147a00.zip | |
* 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/ftfont.c')
| -rw-r--r-- | src/ftfont.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index 4e58d83fd64..eeee56891ec 100644 --- a/src/ftfont.c +++ b/src/ftfont.c | |||
| @@ -2425,7 +2425,6 @@ ftfont_shape_by_flt (Lisp_Object lgstring, struct font *font, | |||
| 2425 | } | 2425 | } |
| 2426 | 2426 | ||
| 2427 | len = i; | 2427 | len = i; |
| 2428 | assume (len <= STRING_BYTES_BOUND); | ||
| 2429 | 2428 | ||
| 2430 | if (with_variation_selector) | 2429 | if (with_variation_selector) |
| 2431 | { | 2430 | { |