]> git.sesse.net Git - vlc/commitdiff
macosx: do not use vlc_assert_unreachable in third-party code
authorDavid Fuhrmann <dfuhrmann@videolan.org>
Sun, 22 Feb 2015 18:30:20 +0000 (19:30 +0100)
committerDavid Fuhrmann <dfuhrmann@videolan.org>
Sun, 22 Feb 2015 18:31:53 +0000 (19:31 +0100)
modules/gui/macosx/SPMediaKeyTap.m

index 9be81c7db992916e6b431f9c05cfbd7ddf3db004..3917731c12ebe8ab4d0fb858b692d8bca10d6f45 100644 (file)
@@ -220,7 +220,7 @@ static CGEventRef tapEventCallback2(CGEventTapProxy proxy, CGEventType type, CGE
     }
     @catch (NSException * e) {
         NSLog(@"Strange CGEventType: %d: %@", type, e);
-        vlc_assert_unreachable();
+        assert(0);
         return event;
     }