aboutsummaryrefslogtreecommitdiffstats
path: root/src/keyboard.c
diff options
context:
space:
mode:
authorPaul Eggert2011-04-10 09:44:27 -0700
committerPaul Eggert2011-04-10 09:44:27 -0700
commitb2ded58d7e0eb75f00071036d1c07bbd55313b60 (patch)
tree5546bb6d7214033a83d13ce87a15f65595f6ae74 /src/keyboard.c
parent37f1c9309eb0e6b3bc3dda1ffa7f99410c22355d (diff)
parent12020a9e6dcfc2213e8bbb0fec259c1ed1202f30 (diff)
downloademacs-b2ded58d7e0eb75f00071036d1c07bbd55313b60.tar.gz
emacs-b2ded58d7e0eb75f00071036d1c07bbd55313b60.zip
Fix more problems found by GCC 4.6.0's static checks.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r--src/keyboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 5a3031259d9..5df4f1b1ff4 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3090,7 +3090,6 @@ read_char (int commandflag, int nmaps, Lisp_Object *maps, Lisp_Object prev_event
3090 /* Process the help character specially if enabled */ 3090 /* Process the help character specially if enabled */
3091 if (!NILP (Vhelp_form) && help_char_p (c)) 3091 if (!NILP (Vhelp_form) && help_char_p (c))
3092 { 3092 {
3093 Lisp_Object tem0;
3094 int count = SPECPDL_INDEX (); 3093 int count = SPECPDL_INDEX ();
3095 3094
3096 help_form_saved_window_configs 3095 help_form_saved_window_configs
@@ -8777,7 +8776,8 @@ access_keymap_keyremap (Lisp_Object map, Lisp_Object key, Lisp_Object prompt,
8777 (To ignore it safely, we would need to gcpro a bunch of 8776 (To ignore it safely, we would need to gcpro a bunch of
8778 other variables.) */ 8777 other variables.) */
8779 if (! (VECTORP (next) || STRINGP (next))) 8778 if (! (VECTORP (next) || STRINGP (next)))
8780 error ("Function %s returns invalid key sequence", tem); 8779 error ("Function %s returns invalid key sequence",
8780 SSDATA (SYMBOL_NAME (tem)));
8781 } 8781 }
8782 return next; 8782 return next;
8783} 8783}