diff options
author | Alan Third <alan@idiocy.org> | 2020-12-19 20:46:55 +0000 |
---|---|---|
committer | Alan Third <alan@idiocy.org> | 2021-01-01 22:41:26 +0000 |
commit | 1c5208ba71156d225b54592e5e36788748f48ade (patch) | |
tree | 8be81e5210274dc9bef3c1212826e3aee52249b1 /src/nsmenu.m | |
parent | 107978365e17ede02d85b52fcbd99512dcc87428 (diff) | |
download | emacs-1c5208ba71156d225b54592e5e36788748f48ade.tar.gz |
Fix GNUstep warnings
* src/nsterm.h: EmacsSurface is only required if NS_DRAW_TO_BUFFER is
defined.
* src/nsterm.m (ns_judge_scroll_bars): Remove unused variable.
* src/nsmenu.m (update_frame_tool_bar):
(ns_update_menubar): Remove unused variables.
Diffstat (limited to 'src/nsmenu.m')
-rw-r--r-- | src/nsmenu.m | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m index 2e0b2c172be..9b56958100a 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m @@ -956,15 +956,12 @@ update_frame_tool_bar (struct frame *f) int i, k = 0; EmacsView *view = FRAME_NS_VIEW (f); EmacsToolbar *toolbar = [view toolbar]; - int oldh; NSTRACE ("update_frame_tool_bar"); if (view == nil || toolbar == nil) return; block_input (); - oldh = FRAME_TOOLBAR_HEIGHT (f); - #ifdef NS_IMPL_COCOA [toolbar clearActive]; #else |