]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/src/vlcproc.cpp
cosmetic: remove nullity test on free() and delete
[vlc] / modules / gui / skins2 / src / vlcproc.cpp
index a9a8786cc6612b8b27ab2ed55006d168aef98fc4..6dc6eff2b49bf384bf959d7a58e89a3726f4336b 100644 (file)
@@ -65,11 +65,8 @@ VlcProc *VlcProc::instance( intf_thread_t *pIntf )
 
 void VlcProc::destroy( intf_thread_t *pIntf )
 {
-    if( pIntf->p_sys->p_vlcProc )
-    {
-        delete pIntf->p_sys->p_vlcProc;
-        pIntf->p_sys->p_vlcProc = NULL;
-    }
+    delete pIntf->p_sys->p_vlcProc;
+    pIntf->p_sys->p_vlcProc = NULL;
 }