]> code.delx.au - gnu-emacs/commit
Pacify GCC -Wmaybe-uninitialized in xdisp.c
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Sep 2015 14:45:31 +0000 (07:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Sep 2015 14:45:53 +0000 (07:45 -0700)
commitcf91ea794be50c2d3c572726b1d4e53ab92da506
tree6441c762b674af863f76f65931ef7261a35fab67
parentaeb17b60f9d41a40b1b5b9a7817d31bd0cb2c3c0
Pacify GCC -Wmaybe-uninitialized in xdisp.c

* src/xdisp.c (face_before_or_after_it_pos): Use do-while rather
than while loop to avoid GCC -Wmaybe-uninitialized diagnostic with
charpos.  The loop should always execute at least once anyway.
src/xdisp.c