From 937326bf4f52eee356bed7afdf65d388961d63d2 Mon Sep 17 00:00:00 2001 From: Daniel Seither Date: Tue, 19 Nov 2019 12:04:29 +0100 Subject: [PATCH] OSXDragView: Get rid of uninitialized variable warning --- src/lib/platform/OSXDragView.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/platform/OSXDragView.m b/src/lib/platform/OSXDragView.m index 9f774993..67dac566 100644 --- a/src/lib/platform/OSXDragView.m +++ b/src/lib/platform/OSXDragView.m @@ -129,13 +129,13 @@ draggingSourceOperationMask - (NSPoint)draggingLocation { - NSPoint point; + NSPoint point = NSMakePoint(0, 0); return point; } - (NSPoint)draggedImageLocation { - NSPoint point; + NSPoint point = NSMakePoint(0, 0); return point; }