]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/win32/win32_loop.cpp
cosmetic: remove nullity test on free() and delete
[vlc] / modules / gui / skins2 / win32 / win32_loop.cpp
index 1ddc580b362cefec91f0c5d534cff0f7a74b3c7e..bd7fda5d70ee87d42118e5711d952dd144033abb 100644 (file)
@@ -107,11 +107,8 @@ OSLoop *Win32Loop::instance( intf_thread_t *pIntf )
 
 void Win32Loop::destroy( intf_thread_t *pIntf )
 {
-    if( pIntf->p_sys->p_osLoop )
-    {
-        delete pIntf->p_sys->p_osLoop;
-        pIntf->p_sys->p_osLoop = NULL;
-    }
+    delete pIntf->p_sys->p_osLoop;
+    pIntf->p_sys->p_osLoop = NULL;
 }