summaryrefslogtreecommitdiff
path: root/src/indent.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-09-21 20:54:57 +0000
committerGerd Moellmann <gerd@gnu.org>2000-09-21 20:54:57 +0000
commit6bbd7a29592594e23e5cb98467e608f10b00f877 (patch)
tree1e60389bc0f5c349fc0a39b2609b1a60b084e133 /src/indent.c
parent8179cccd88a3f114b0e4891c033ecd302dfb094e (diff)
downloademacs-6bbd7a29592594e23e5cb98467e608f10b00f877.tar.gz
Avoid some more compiler warnings.
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/indent.c b/src/indent.c
index 7a7be2fe301..f5f44d93c40 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -835,8 +835,8 @@ The return value is the current column.")
register int multibyte = !NILP (current_buffer->enable_multibyte_characters);
Lisp_Object val;
- int prev_col;
- int c;
+ int prev_col = 0;
+ int c = 0;
int next_boundary;
int pos_byte, end_byte, next_boundary_byte;
@@ -1053,7 +1053,7 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width,
register int pos;
int pos_byte;
- register int c;
+ register int c = 0;
register int tab_width = XFASTINT (current_buffer->tab_width);
register int ctl_arrow = !NILP (current_buffer->ctl_arrow);
register struct Lisp_Char_Table *dp = window_display_table (win);