summaryrefslogtreecommitdiff
path: root/src/nsfns.m
diff options
context:
space:
mode:
Diffstat (limited to 'src/nsfns.m')
-rw-r--r--src/nsfns.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nsfns.m b/src/nsfns.m
index d4cf4f5ffae..add4883e1fd 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -3808,6 +3808,8 @@ ns_move_tooltip_to_mouse_location (NSPoint screen_point)
NSWindow *window;
struct frame *tip_f;
+ window = nil;
+
if (!FIXNUMP (tip_dx) || !FIXNUMP (tip_dy))
return;