summaryrefslogtreecommitdiff
path: root/src/nsterm.m
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2018-02-13 09:55:46 +0100
committerPhilipp Stephani <phst@google.com>2018-02-13 09:55:46 +0100
commit1d135af78c3ddd502b5feb84884ea55cbc664753 (patch)
tree3b941bb1e7a97b6cc49e0baae8f10509d2ce7e68 /src/nsterm.m
parent4b70de228d663cdbbae9668e6e990b0064e72fda (diff)
downloademacs-1d135af78c3ddd502b5feb84884ea55cbc664753.tar.gz
Fix NS-related compilation errors.
* src/nsterm.m (ns_set_represented_filename): Remove unused variable 'view'. * src/nsfns.m (x_implicitly_set_name, syms_of_nsfns): The type of a variable defined with DEFVAR_BOOL is 'bool', not 'Lisp_Object'.
Diffstat (limited to 'src/nsterm.m')
-rw-r--r--src/nsterm.m1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index 29aef0e9b6d..8a66643cfb7 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -471,7 +471,6 @@ static void ns_judge_scroll_bars (struct frame *f);
void
ns_set_represented_filename (struct frame *f)
{
- NSView *view;
Lisp_Object filename, encoded_filename;
Lisp_Object buf = XWINDOW (f->selected_window)->contents;
NSAutoreleasePool *pool;