From 8ee5b6a3963659c95e124efda55c11dbe045957d Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 11 Jul 2001 15:45:24 +0000 Subject: [PATCH] (try_cursor_movement): Prevent a warning from GCC 3.0. --- src/ChangeLog | 2 ++ src/xdisp.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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"); -- 2.39.2