diff options
| author | Jan D | 2015-05-15 17:06:03 +0200 |
|---|---|---|
| committer | Jan D | 2015-05-15 17:06:16 +0200 |
| commit | b00168e833ccca1b5c0eebe56688ec44e0efabe7 (patch) | |
| tree | 496d6cebab472c5b4a24d78194e40399f72028d0 /src/nsmenu.m | |
| parent | d02ce2c4321d7b99abc2de21e01f9504008ec735 (diff) | |
| download | emacs-b00168e833ccca1b5c0eebe56688ec44e0efabe7.tar.gz emacs-b00168e833ccca1b5c0eebe56688ec44e0efabe7.zip | |
Fix NS warnings.
* nsmenu.m (ns_popup_dialog)
* nsimage.m (initFromXBM:width:height:fg:bg:)
* nsfns.m (Fx_create_frame): Remove unused variables.
(Fns_read_file_name): Initialize fname, remove ret.
* nsterm.m (ns_draw_window_cursor): Handle DEFAULT_CURSOR in switch.
(ns_get_color, ns_set_horizontal_scroll_bar, keyDown): Remove unused
variable.
(init): Add parantesis in if.
(ns_create_terminal): Assign set_horizontal_scroll_bar_hook.
Diffstat (limited to 'src/nsmenu.m')
| -rw-r--r-- | src/nsmenu.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsmenu.m b/src/nsmenu.m index a4c26fe82ba..b5cb64d68e5 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m | |||
| @@ -1418,7 +1418,7 @@ Lisp_Object | |||
| 1418 | ns_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) | 1418 | ns_popup_dialog (struct frame *f, Lisp_Object header, Lisp_Object contents) |
| 1419 | { | 1419 | { |
| 1420 | id dialog; | 1420 | id dialog; |
| 1421 | Lisp_Object window, tem, title; | 1421 | Lisp_Object tem, title; |
| 1422 | NSPoint p; | 1422 | NSPoint p; |
| 1423 | BOOL isQ; | 1423 | BOOL isQ; |
| 1424 | NSAutoreleasePool *pool; | 1424 | NSAutoreleasePool *pool; |