# HG changeset patch # User Gerd Moellmann # Date 968422751 0 # Node ID a1d7334284917aac5707d5108fa0195a0642509c # Parent 52dc5e4cb096ff0215c057df4cad1b1948b988b9 (dump_glyph_row): Fix printf format string. (display_line, move_it_in_display_line_to): Avoid compiler warnings. diff -r 52dc5e4cb096 -r a1d733428491 src/xdisp.c --- a/src/xdisp.c Fri Sep 08 14:10:31 2000 +0000 +++ b/src/xdisp.c Fri Sep 08 14:19:11 2000 +0000 @@ -4278,7 +4278,7 @@ while (1) { - int x, i, ascent, descent; + int x, i, ascent = 0, descent = 0; /* Stop when ZV or TO_CHARPOS reached. */ if (!get_next_display_element (it) @@ -10913,8 +10913,8 @@ fprintf (stderr, "Row Start End Used oEI>rows, MATRIX_ROW_START_CHARPOS (row), MATRIX_ROW_END_CHARPOS (row), @@ -11579,7 +11579,7 @@ { int n_glyphs_before, hpos_before, x_before; int x, i, nglyphs; - int ascent, descent, phys_ascent, phys_descent; + int ascent = 0, descent = 0, phys_ascent = 0, phys_descent = 0; /* Retrieve the next thing to display. Value is zero if end of buffer reached. */