aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-03-15 10:59:31 -0700
committerPaul Eggert2011-03-15 10:59:31 -0700
commit5671df8f51e552ca7d61296faf67b110b6a33235 (patch)
tree97a5fec4732af8d02b0239cc091aeaf6e5b6778d /src
parent85f24f61597cf8f38d5913e66a87c883f6a7690d (diff)
downloademacs-5671df8f51e552ca7d61296faf67b110b6a33235.tar.gz
emacs-5671df8f51e552ca7d61296faf67b110b6a33235.zip
* indent.c (Fvertical_motion): Mark locals as initialized.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/indent.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 21a588a87da..9f5ed0a0c31 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -4,6 +4,7 @@
4 All uses changed. 4 All uses changed.
5 (MULTIBYTE_BYTES_WIDTH, scan_for_column, compute_motion): 5 (MULTIBYTE_BYTES_WIDTH, scan_for_column, compute_motion):
6 Rename locals to avoid shadowing. 6 Rename locals to avoid shadowing.
7 (Fvertical_motion): Mark locals as initialized.
7 8
8 * casefiddle.c (casify_object, casify_region): Now static. 9 * casefiddle.c (casify_object, casify_region): Now static.
9 (casify_region): Mark local as initialized. 10 (casify_region): Mark local as initialized.
diff --git a/src/indent.c b/src/indent.c
index d5e7671fa8c..baea0641948 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -1995,7 +1995,7 @@ whether or not it is currently displayed in some window. */)
1995 Lisp_Object old_buffer; 1995 Lisp_Object old_buffer;
1996 struct gcpro gcpro1; 1996 struct gcpro gcpro1;
1997 Lisp_Object lcols = Qnil; 1997 Lisp_Object lcols = Qnil;
1998 double cols; 1998 double cols IF_LINT (= 0);
1999 1999
2000 /* Allow LINES to be of the form (HPOS . VPOS) aka (COLUMNS . LINES). */ 2000 /* Allow LINES to be of the form (HPOS . VPOS) aka (COLUMNS . LINES). */
2001 if (CONSP (lines) && (NUMBERP (XCAR (lines)))) 2001 if (CONSP (lines) && (NUMBERP (XCAR (lines))))
@@ -2029,7 +2029,7 @@ whether or not it is currently displayed in some window. */)
2029 } 2029 }
2030 else 2030 else
2031 { 2031 {
2032 int it_start, first_x, it_overshoot_expected; 2032 int it_start, first_x, it_overshoot_expected IF_LINT (= 0);
2033 2033
2034 SET_TEXT_POS (pt, PT, PT_BYTE); 2034 SET_TEXT_POS (pt, PT, PT_BYTE);
2035 start_display (&it, w, pt); 2035 start_display (&it, w, pt);