1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 02:22:19 +00:00

mac/app: remove unused Application flag

This commit is contained in:
der richter 2024-03-26 19:57:47 +01:00
parent 23db34dd6d
commit e2bc1e5f9b

View File

@ -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;