Fix crash in ns_mouse_position (bug#45541)

* src/nsterm.m (ns_mouse_position): Explicitly initialize f to NULL.

; Do not merge to master
This commit is contained in:
Alan Third 2021-01-01 10:36:39 +00:00
parent 33d159c36f
commit 3711339f92

View file

@ -2480,7 +2480,7 @@ so some key presses (TAB) are swallowed by the system. */
id view;
NSPoint view_position;
Lisp_Object frame, tail;
struct frame *f;
struct frame *f = NULL;
struct ns_display_info *dpyinfo;
NSTRACE ("ns_mouse_position");