From 344b75f52da349ab293ee2bb7f48604eabcffb0f Mon Sep 17 00:00:00 2001 From: Akemi Date: Sun, 26 Mar 2017 21:46:28 +0200 Subject: osx: code cleanups and cosmetic fixes silence build warnings, clean up code style and remove unused code. --- video/out/cocoa_common.m | 2 -- 1 file changed, 2 deletions(-) (limited to 'video/out/cocoa_common.m') diff --git a/video/out/cocoa_common.m b/video/out/cocoa_common.m index b535de279d..e0f0f785e0 100644 --- a/video/out/cocoa_common.m +++ b/video/out/cocoa_common.m @@ -129,7 +129,6 @@ static void run_on_main_thread(struct vo *vo, void(^block)(void)) static void queue_new_video_size(struct vo *vo, int w, int h) { struct vo_cocoa_state *s = vo->cocoa; - struct mp_vo_opts *opts = vo->opts; id win = (id) s->window; NSRect r = NSMakeRect(0, 0, w, h); r = [s->current_screen convertRectFromBacking:r]; @@ -955,7 +954,6 @@ int vo_cocoa_control(struct vo *vo, int *events, int request, void *arg) - (void)performAsyncResize:(NSSize)size { - struct vo_cocoa_state *s = self.vout->cocoa; vo_cocoa_resize_redraw(self.vout, size.width, size.height); } -- cgit v1.2.3