mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 09:51:22 -08:00
Pacify GCC when configuring with --enable-gcc-warnings.
* xdisp.c (move_it_in_display_line_to) [lint]: Initialize recently-added local.
This commit is contained in:
parent
4819842050
commit
9901fa1abc
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2014-02-21 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
Pacify GCC when configuring with --enable-gcc-warnings.
|
||||
* xdisp.c (move_it_in_display_line_to) [lint]:
|
||||
Initialize recently-added local.
|
||||
|
||||
2014-02-21 Daniel Colascione <dancol@dancol.org>
|
||||
|
||||
* dbusbind.c: Rename dbus-init-bus to dbus-init-bus-1.
|
||||
|
|
|
|||
|
|
@ -8313,7 +8313,7 @@ move_it_in_display_line_to (struct it *it,
|
|||
void *ppos_data = NULL;
|
||||
int may_wrap = 0;
|
||||
enum it_method prev_method = it->method;
|
||||
ptrdiff_t closest_pos, prev_pos = IT_CHARPOS (*it);
|
||||
ptrdiff_t closest_pos IF_LINT (= 0), prev_pos = IT_CHARPOS (*it);
|
||||
int saw_smaller_pos = prev_pos < to_charpos;
|
||||
|
||||
/* Don't produce glyphs in produce_glyphs. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue