[vlc-commits] OSX GUI: don't check for interface pointer

Rafaël Carré git at videolan.org
Thu Feb 16 01:02:57 CET 2012


vlc/vlc-2.0 | branch: master | Rafaël Carré <funman at videolan.org> | Wed Feb 15 14:44:09 2012 -0500| [c0db68ff890dac8bc408a1b9c7d9775cac52e7f9] | committer: Felix Paul Kühne

OSX GUI: don't check for interface pointer

It'll be valid the first time this function is called
(cherry picked from commit f4fb3707e66d259e20ad5de35bcaf599d9c59518)

Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

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

 modules/gui/macosx/intf.m |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/modules/gui/macosx/intf.m b/modules/gui/macosx/intf.m
index 3a0e11c..4dc37d7 100644
--- a/modules/gui/macosx/intf.m
+++ b/modules/gui/macosx/intf.m
@@ -677,9 +677,6 @@ static VLCMain *_o_sharedMainInstance = nil;
 
 - (void)applicationWillTerminate:(NSNotification *)notification
 {
-    if( !p_intf )
-        return;
-
     /* don't allow a double termination call. If the user has
      * already invoked the quit then simply return this time. */
     static bool f_appExit = false;



More information about the vlc-commits mailing list