vlc | branch: master | Marvin Scholz <[email protected]> | Wed Aug  1 21:35:58 
2018 +0200| [2c47b89103359a0506654155833308e9deed1ec1] | committer: Marvin 
Scholz

macosx: SPMediaKeyTap: Remove unused singleton

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c47b89103359a0506654155833308e9deed1ec1
---

 modules/gui/macosx/SPMediaKeyTap.m | 2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/gui/macosx/SPMediaKeyTap.m 
b/modules/gui/macosx/SPMediaKeyTap.m
index 766e591e8b..7b1d061819 100644
--- a/modules/gui/macosx/SPMediaKeyTap.m
+++ b/modules/gui/macosx/SPMediaKeyTap.m
@@ -43,7 +43,6 @@
 - (void)stopWatchingAppSwitching;
 - (void)eventTapThread;
 @end
-static SPMediaKeyTap *singleton = nil;
 
 static pascal OSStatus appSwitched (EventHandlerCallRef nextHandler, EventRef 
evt, void* userData);
 static pascal OSStatus appTerminated (EventHandlerCallRef nextHandler, 
EventRef evt, void* userData);
@@ -63,7 +62,6 @@ static CGEventRef tapEventCallback(CGEventTapProxy proxy, 
CGEventType type, CGEv
     if (self) {
         _delegate = delegate;
         [self startWatchingAppSwitching];
-        singleton = self;
         _mediaKeyAppList = [NSMutableArray new];
     }
     return self;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to