summaryrefslogtreecommitdiffstats
path: root/osdep/mac
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/mac')
-rw-r--r--osdep/mac/application.m6
1 files changed, 0 insertions, 6 deletions
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;