[vlc-commits] macosx: replace beep by assert

Felix Paul Kühne git at videolan.org
Tue Jun 11 08:38:53 CEST 2019


vlc | branch: master | Felix Paul Kühne <felix at feepk.net> | Wed Jun  5 11:17:47 2019 +0200| [8a1321f65232133958134cbd56b3863d2148b942] | committer: Felix Paul Kühne

macosx: replace beep by assert

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

 modules/gui/macosx/windows/VLCOpenWindowController.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/macosx/windows/VLCOpenWindowController.m b/modules/gui/macosx/windows/VLCOpenWindowController.m
index 327183503e..f6457df10e 100644
--- a/modules/gui/macosx/windows/VLCOpenWindowController.m
+++ b/modules/gui/macosx/windows/VLCOpenWindowController.m
@@ -1297,7 +1297,7 @@ static NSString *kCaptureTabViewId  = @"capture";
     if ([[self MRL] length])
         [NSApp stopModalWithCode: 1];
     else
-        NSBeep();
+        vlc_assert_unreachable();
 }
 
 #pragma mark - audio and video device management



More information about the vlc-commits mailing list