]> git.eshelyaron.com Git - emacs.git/commit
Avoid a few compilation warnings in Objective-C code.
authorPhilipp Stephani <phst@google.com>
Sat, 23 Jan 2021 18:08:52 +0000 (19:08 +0100)
committerPhilipp Stephani <phst@google.com>
Sat, 23 Jan 2021 18:08:52 +0000 (19:08 +0100)
commit17fec603709eb879297a4a0ff0c535c00a13066b
tree3e2e7dced8dee1f7da5218bb2c6b681c5310b44f
parent27a023d02928366f52ab8d5e5c398ef080483523
Avoid a few compilation warnings in Objective-C code.

* src/nsfns.m (Fns_frame_restack): Remove unused variable 'flag'.

* src/nsmenu.m (ns_update_menubar): Remove unused variable 'pool'.

* src/nsterm.m (focus_view, hide_bell): Define conditionally.
(ns_update_end): Define variable 'view' conditionally.
(ns_redraw_scroll_bars): Don't define unused function.
(copyRect): Don't perform arithmetic on 'void' pointers.
(nswindow_orderedIndex_sort): Make static.
src/nsfns.m
src/nsmenu.m
src/nsterm.m