diff options
| author | Gerd Moellmann | 1999-09-15 12:58:53 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-09-15 12:58:53 +0000 |
| commit | faa935b653571584c6caad016b29421b55e975eb (patch) | |
| tree | 754cae6b9c8e76b6d8ca1f3db4fece5f0ed0bf4c /src | |
| parent | d2c48e866aebe39359872f63ef12814cf3ecc9e7 (diff) | |
| download | emacs-faa935b653571584c6caad016b29421b55e975eb.tar.gz emacs-faa935b653571584c6caad016b29421b55e975eb.zip | |
(single_menu_item, Fx_popup_menu, Fx_popup_menu,
single_submenu, update_frame_menubar, set_frame_menubar,
free_frame_menubar, xmenu_show, xdialog_show): Remove unused
variables.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xmenu.c | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index b029fc655d5..a5b6e240f4e 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -477,7 +477,7 @@ single_menu_item (key, item, pending_maps_ptr, notreal, maxdepth, | |||
| 477 | int maxdepth, notreal; | 477 | int maxdepth, notreal; |
| 478 | int *notbuttons_ptr; | 478 | int *notbuttons_ptr; |
| 479 | { | 479 | { |
| 480 | Lisp_Object def, map, item_string, enabled; | 480 | Lisp_Object map, item_string, enabled; |
| 481 | struct gcpro gcpro1, gcpro2; | 481 | struct gcpro gcpro1, gcpro2; |
| 482 | int res; | 482 | int res; |
| 483 | 483 | ||
| @@ -685,13 +685,11 @@ cached information about equivalent key sequences.") | |||
| 685 | (position, menu) | 685 | (position, menu) |
| 686 | Lisp_Object position, menu; | 686 | Lisp_Object position, menu; |
| 687 | { | 687 | { |
| 688 | int number_of_panes, panes; | ||
| 689 | Lisp_Object keymap, tem; | 688 | Lisp_Object keymap, tem; |
| 690 | int xpos, ypos; | 689 | int xpos, ypos; |
| 691 | Lisp_Object title; | 690 | Lisp_Object title; |
| 692 | char *error_name; | 691 | char *error_name; |
| 693 | Lisp_Object selection; | 692 | Lisp_Object selection; |
| 694 | int i, j; | ||
| 695 | FRAME_PTR f; | 693 | FRAME_PTR f; |
| 696 | Lisp_Object x, y, window; | 694 | Lisp_Object x, y, window; |
| 697 | int keymaps = 0; | 695 | int keymaps = 0; |
| @@ -1313,7 +1311,6 @@ single_submenu (item_key, item_name, maps) | |||
| 1313 | int len; | 1311 | int len; |
| 1314 | Lisp_Object *mapvec; | 1312 | Lisp_Object *mapvec; |
| 1315 | widget_value **submenu_stack; | 1313 | widget_value **submenu_stack; |
| 1316 | int mapno; | ||
| 1317 | int previous_items = menu_items_used; | 1314 | int previous_items = menu_items_used; |
| 1318 | int top_level_items = 0; | 1315 | int top_level_items = 0; |
| 1319 | 1316 | ||
| @@ -1506,8 +1503,6 @@ update_frame_menubar (f) | |||
| 1506 | int columns, rows; | 1503 | int columns, rows; |
| 1507 | int menubar_changed; | 1504 | int menubar_changed; |
| 1508 | 1505 | ||
| 1509 | Dimension shell_height; | ||
| 1510 | |||
| 1511 | /* We assume the menubar contents has changed if the global flag is set, | 1506 | /* We assume the menubar contents has changed if the global flag is set, |
| 1512 | or if the current buffer has changed, or if the menubar has never | 1507 | or if the current buffer has changed, or if the menubar has never |
| 1513 | been updated before. | 1508 | been updated before. |
| @@ -1565,7 +1560,7 @@ set_frame_menubar (f, first_time, deep_p) | |||
| 1565 | int deep_p; | 1560 | int deep_p; |
| 1566 | { | 1561 | { |
| 1567 | Widget menubar_widget = f->output_data.x->menubar_widget; | 1562 | Widget menubar_widget = f->output_data.x->menubar_widget; |
| 1568 | Lisp_Object tail, items, frame; | 1563 | Lisp_Object items; |
| 1569 | widget_value *wv, *first_wv, *prev_wv = 0; | 1564 | widget_value *wv, *first_wv, *prev_wv = 0; |
| 1570 | int i; | 1565 | int i; |
| 1571 | LWLIB_ID id; | 1566 | LWLIB_ID id; |
| @@ -1824,7 +1819,6 @@ free_frame_menubar (f) | |||
| 1824 | FRAME_PTR f; | 1819 | FRAME_PTR f; |
| 1825 | { | 1820 | { |
| 1826 | Widget menubar_widget; | 1821 | Widget menubar_widget; |
| 1827 | int id; | ||
| 1828 | 1822 | ||
| 1829 | menubar_widget = f->output_data.x->menubar_widget; | 1823 | menubar_widget = f->output_data.x->menubar_widget; |
| 1830 | 1824 | ||
| @@ -1907,7 +1901,6 @@ xmenu_show (f, x, y, for_click, keymaps, title, error) | |||
| 1907 | XButtonPressedEvent dummy; | 1901 | XButtonPressedEvent dummy; |
| 1908 | 1902 | ||
| 1909 | int first_pane; | 1903 | int first_pane; |
| 1910 | int next_release_must_exit = 0; | ||
| 1911 | 1904 | ||
| 1912 | *error = NULL; | 1905 | *error = NULL; |
| 1913 | 1906 | ||
| @@ -2254,7 +2247,7 @@ xdialog_show (f, keymaps, title, error) | |||
| 2254 | Widget menu; | 2247 | Widget menu; |
| 2255 | char dialog_name[6]; | 2248 | char dialog_name[6]; |
| 2256 | 2249 | ||
| 2257 | widget_value *wv, *save_wv = 0, *first_wv = 0, *prev_wv = 0; | 2250 | widget_value *wv, *first_wv = 0, *prev_wv = 0; |
| 2258 | 2251 | ||
| 2259 | /* Number of elements seen so far, before boundary. */ | 2252 | /* Number of elements seen so far, before boundary. */ |
| 2260 | int left_count = 0; | 2253 | int left_count = 0; |