diff options
author | der richter <der.richter@gmx.de> | 2024-03-26 19:57:47 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2024-03-29 14:20:40 +0100 |
commit | e2bc1e5f9b0f1f2aae0068109b9fdf63995b1b35 (patch) | |
tree | dd2bed853306ee07c20921a10a9fa2ff6e664cec /osdep | |
parent | 23db34dd6da8454aea0507343ee30aafce1d60cc (diff) | |
download | mpv-e2bc1e5f9b0f1f2aae0068109b9fdf63995b1b35.tar.bz2 mpv-e2bc1e5f9b0f1f2aae0068109b9fdf63995b1b35.tar.xz |
mac/app: remove unused Application flag
Diffstat (limited to 'osdep')
-rw-r--r-- | osdep/mac/application.m | 6 |
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; |