From 79b73827745a675fff564b359b33c199e3d45b33 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 2 Apr 2011 17:33:43 -0700 Subject: [PATCH] * casefiddle.c (casify_region): Remove var that is set but not used. --- src/ChangeLog | 2 ++ src/casefiddle.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 6e7dffe31f6..2b1f83494f6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-03 Paul Eggert + * casefiddle.c (casify_region): Remove var that is set but not used. + * dired.c (file_name_completion): Remove var that is set but not used. * fileio.c (Finsert_file_contents): Make EOF condition clearer. diff --git a/src/casefiddle.c b/src/casefiddle.c index 43ecd38dc7d..9f286d73a5e 100644 --- a/src/casefiddle.c +++ b/src/casefiddle.c @@ -200,7 +200,7 @@ casify_region (enum case_action flag, Lisp_Object b, Lisp_Object e) register int inword = flag == CASE_DOWN; register int multibyte = !NILP (BVAR (current_buffer, enable_multibyte_characters)); EMACS_INT start, end; - EMACS_INT start_byte, end_byte; + EMACS_INT start_byte; /* Position of first and last changes. */ EMACS_INT first = -1, last IF_LINT (= 0); @@ -222,7 +222,6 @@ casify_region (enum case_action flag, Lisp_Object b, Lisp_Object e) modify_region (current_buffer, start, end, 0); record_change (start, end - start); start_byte = CHAR_TO_BYTE (start); - end_byte = CHAR_TO_BYTE (end); SETUP_BUFFER_SYNTAX_TABLE(); /* For syntax_prefix_flag_p. */ -- 2.39.2