]> git.eshelyaron.com Git - emacs.git/commitdiff
* menu.c (digest_single_submenu): Omit unused local var.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 29 Mar 2011 06:58:36 +0000 (23:58 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 29 Mar 2011 06:58:36 +0000 (23:58 -0700)
src/ChangeLog
src/menu.c

index 79b86d561af565c3bf7449b4b6cc6620d41b787c..1f636e0dde653d821e2e69687008cf17eb8fff94 100644 (file)
@@ -1,5 +1,6 @@
 2011-03-29  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * menu.c (digest_single_submenu): Omit unused local var.
        * dispnew.c (update_window) [PERIODIC_PREEMPTION_CHECKING]:
        Omit unused local var.
 
index 851f1ac804b4f9ff9c1d0b1249785df1b66aec04..a9098deed7e4ad6936cde59a802b7ba85999d6e1 100644 (file)
@@ -662,13 +662,12 @@ digest_single_submenu (int start, int end, int top_level_items)
       else if (EQ (XVECTOR (menu_items)->contents[i], Qt))
        {
          /* Create a new pane.  */
-         Lisp_Object pane_name, prefix;
+         Lisp_Object pane_name;
          const char *pane_string;
 
          panes_seen++;
 
          pane_name = XVECTOR (menu_items)->contents[i + MENU_ITEMS_PANE_NAME];
-         prefix = XVECTOR (menu_items)->contents[i + MENU_ITEMS_PANE_PREFIX];
 
 #ifdef HAVE_NTGUI
          if (STRINGP (pane_name))