]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/qt4.cpp
Remove useless test before a delete.
[vlc] / modules / gui / qt4 / qt4.cpp
index 8deeca222eb10f375ca3d42e28260d09872b3e7f..ccfd614167de201df1f9c610f6c4e4f11ff540e4 100644 (file)
@@ -384,7 +384,7 @@ static void Init( intf_thread_t *p_intf )
 
     /* Destroy first the main interface because it is connected to some slots
        in the MainInputManager */
-    if( p_intf->p_sys->p_mi ) delete p_intf->p_sys->p_mi;
+    delete p_intf->p_sys->p_mi;
 
     /* Destroy then other windows, because some are connected to some slots
        in the MainInputManager */