changeset 4575:bf0f07186369

(describe_buffer_bindings): Declare shadow just once.
author Richard M. Stallman <rms@gnu.org>
date Wed, 11 Aug 1993 21:10:44 +0000
parents 503af6aa135b
children fb0a5397e223
files src/keymap.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/keymap.c	Wed Aug 11 21:08:13 1993 +0000
+++ b/src/keymap.c	Wed Aug 11 21:10:44 1993 +0000
@@ -1683,6 +1683,7 @@
 
   descbuf = XCONS (arg)->car;
   prefix = XCONS (arg)->cdr;
+  shadow = Qnil;
 
   Fset_buffer (Vstandard_output);
 
@@ -1720,9 +1721,6 @@
   {
     int i, nmaps;
     Lisp_Object *modes, *maps;
-    Lisp_Object shadow;
-
-    shadow = Qnil;
 
     /* Temporarily switch to descbuf, so that we can get that buffer's
        minor modes correctly.  */
@@ -1730,8 +1728,6 @@
     nmaps = current_minor_maps (&modes, &maps);
     Fset_buffer (Vstandard_output);
 
-    shadow = Qnil;
-
     /* Print the minor mode maps.  */
     for (i = 0; i < nmaps; i++)
       {