changeset 2236:caf11603feef

[xemacs-hg @ 2004-08-26 20:09:23 by james] Remove unused variable 'n' and the unnecessary call that set it.
author james
date Thu, 26 Aug 2004 20:09:27 +0000
parents 767ec43eb39c
children beb716b23f5b
files src/ChangeLog src/event-stream.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Aug 26 18:47:03 2004 +0000
+++ b/src/ChangeLog	Thu Aug 26 20:09:27 2004 +0000
@@ -1,3 +1,7 @@
+2004-08-26  Jerry James  <james@xemacs.org>
+
+	* event-stream.c (munge_keymap_translate): Remove unused variable n.
+
 2004-08-26  Jerry James  <james@xemacs.org>
 
 	* glyphs-eimage.c (tiff_memory_write): Use RETURN_NOT_REACHED.
--- a/src/event-stream.c	Thu Aug 26 18:47:03 2004 +0000
+++ b/src/event-stream.c	Thu Aug 26 20:09:27 2004 +0000
@@ -3357,7 +3357,6 @@
 	{
 	  Lisp_Object new_chain = key_sequence_to_event_chain (result);
 	  Lisp_Object tempev;
-	  int n;
 
 	  /* If the first_mungeable_event of the other munger is
 	     within the events we're munging, then it will point to
@@ -3375,7 +3374,6 @@
 	    }
 
 	  /* Now munge the current event chain in the command builder. */
-	  n = event_chain_count (suffix);
 	  command_builder_replace_suffix (builder, suffix, new_chain);
 	  builder->first_mungeable_event[munge] = Qnil;