aboutsummaryrefslogtreecommitdiffstats
path: root/src/image.c
diff options
context:
space:
mode:
authorPaul Eggert2013-10-10 23:32:29 -0700
committerPaul Eggert2013-10-10 23:32:29 -0700
commitb9ff995e4c091ca99c8752bb996e155ce7147a00 (patch)
tree2606b847e60957359df7942004b774b4c68b119f /src/image.c
parent33ac026599404c7d5177eecb4fcd0aa527180ee2 (diff)
downloademacs-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/image.c')
-rw-r--r--src/image.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/image.c b/src/image.c
index 86780c62a0b..ca2ef67c0b9 100644
--- a/src/image.c
+++ b/src/image.c
@@ -7571,10 +7571,7 @@ gif_load (struct frame *f, struct image *img)
7571 y++, row += interlace_increment[pass]) 7571 y++, row += interlace_increment[pass])
7572 { 7572 {
7573 while (subimg_height <= row) 7573 while (subimg_height <= row)
7574 { 7574 row = interlace_start[++pass];
7575 assume (pass < 3);
7576 row = interlace_start[++pass];
7577 }
7578 7575
7579 for (x = 0; x < subimg_width; x++) 7576 for (x = 0; x < subimg_width; x++)
7580 { 7577 {