Fix minor problems found by static checking.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Aug 2013 16:28:42 +0000 (09:28 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Aug 2013 16:28:42 +0000 (09:28 -0700)
commit691a357f3afffc2f40a6f04dea072933dcdf8bc0
tree84789637fcc308c77de5516e0fd75ea9d2eb71ba
parentf196836bc040fc9f36484c4d036a8a71870cdbf7
Fix minor problems found by static checking.

* frame.c (delete_frame):
* xdisp.c (next_element_from_display_vector):
Avoid uninitialized local.
* image.c (imagemagick_compute_animated_image): Port to C89.
Prefer usual GNU indentation style for loops.
Be more careful about bizarrely large sizes, by using ptrdiff_t
instead of int.
src/ChangeLog
src/frame.c
src/image.c
src/xdisp.c