Commit 9901fa1a authored by Paul Eggert's avatar Paul Eggert
Browse files

Pacify GCC when configuring with --enable-gcc-warnings.

* xdisp.c (move_it_in_display_line_to) [lint]:
Initialize recently-added local.
parent 48198420
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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment