summaryrefslogtreecommitdiff
path: root/readline/undo.c
diff options
context:
space:
mode:
Diffstat (limited to 'readline/undo.c')
-rw-r--r--readline/undo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/readline/undo.c b/readline/undo.c
index 28ebcc85b93..68710b667ed 100644
--- a/readline/undo.c
+++ b/readline/undo.c
@@ -106,7 +106,7 @@ rl_do_undo ()
{
UNDO_LIST *release;
int waiting_for_begin = 0;
- int start, end;
+ int start = 0, end = 0;
#define TRANS(i) ((i) == -1 ? rl_point : ((i) == -2 ? rl_end : (i)))