From 7d14ca9cc2449448ab19d8f0daf8c8a66e4cefa7 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 15 Nov 2019 18:01:12 +0100 Subject: Fix OSX warning. --- plugingui/nativewindow_cocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugingui/nativewindow_cocoa.mm b/plugingui/nativewindow_cocoa.mm index d8e889a..79a2262 100644 --- a/plugingui/nativewindow_cocoa.mm +++ b/plugingui/nativewindow_cocoa.mm @@ -719,7 +719,7 @@ void NativeWindowCocoa::updateLayerOffset() if(native_window) { auto r1 = [priv->parent_view frame]; - auto r2 = [priv->view frame]; + //auto r2 = [priv->view frame]; CATransform3D t = [[priv->view layer] transform]; if(t.m42 != -r1.origin.y) -- cgit v1.2.3