From e2bc1e5f9b0f1f2aae0068109b9fdf63995b1b35 Mon Sep 17 00:00:00 2001 From: der richter Date: Tue, 26 Mar 2024 19:57:47 +0100 Subject: mac/app: remove unused Application flag --- osdep/mac/application.m | 6 ------ 1 file changed, 6 deletions(-) (limited to 'osdep/mac') diff --git a/osdep/mac/application.m b/osdep/mac/application.m index 898f6dd0c3..361fffa84e 100644 --- a/osdep/mac/application.m +++ b/osdep/mac/application.m @@ -35,10 +35,6 @@ #define MPV_PROTOCOL @"mpv://" -// Whether the NSApplication singleton was created. If this is false, we are -// running in libmpv mode, and cocoa_main() was never called. -static bool application_instantiated; - static mp_thread playback_thread_id; @interface Application () @@ -238,8 +234,6 @@ static void setup_bundle(int *argc, char *argv[]) int cocoa_main(int argc, char *argv[]) { @autoreleasepool { - application_instantiated = true; - struct playback_thread_ctx ctx = {0}; ctx.argc = &argc; ctx.argv = &argv; -- cgit v1.2.3