From: Gerd Moellmann Date: Wed, 11 Jul 2001 15:45:24 +0000 (+0000) Subject: (try_cursor_movement): Prevent a warning from GCC 3.0. X-Git-Tag: emacs-pretest-21.0.104~19 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8ee5b6a3963659c95e124efda55c11dbe045957d;p=emacs.git (try_cursor_movement): Prevent a warning from GCC 3.0. --- diff --git a/src/ChangeLog b/src/ChangeLog index d856d227807..c684a4fcca6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2001-07-11 Gerd Moellmann + * xdisp.c (try_cursor_movement): Prevent a warning from GCC 3.0. + * fileio.c (unwind_read): Print a message when discarding inserted text or switching the buffer to unibyte. Change parameter. (Finsert_file_contents): Don't pass VISIT to unwind_read. diff --git a/src/xdisp.c b/src/xdisp.c index f0c919fecc0..fb148ee8200 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -9579,7 +9579,7 @@ try_cursor_movement (window, startp, scroll_step) || current_buffer != XMARKER (Voverlay_arrow_position)->buffer)) { int this_scroll_margin; - struct glyph_row *row; + struct glyph_row *row = NULL; #if GLYPH_DEBUG debug_method_add (w, "cursor movement");