[vlc-commits] OSX GUI: don't check for interface pointer
    Rafaël Carré 
    git at videolan.org
       
    Wed Feb 15 20:49:13 CET 2012
    
    
  
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Feb 15 14:44:09 2012 -0500| [f4fb3707e66d259e20ad5de35bcaf599d9c59518] | committer: Rafaël Carré
OSX GUI: don't check for interface pointer
It'll be valid the first time this function is called
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f4fb3707e66d259e20ad5de35bcaf599d9c59518
---
 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