]> git.sesse.net Git - vlc/blobdiff - modules/gui/skins2/src/logger.cpp
skins(Win32): add hotkeys support in fullscreen mode
[vlc] / modules / gui / skins2 / src / logger.cpp
index b0b0b2210e56efbabc0429e30fc64ce762107f8d..606a4422895ccfe18721ff6eed14133cc610436b 100644 (file)
@@ -52,11 +52,8 @@ Logger *Logger::instance( intf_thread_t *pIntf )
 
 void Logger::destroy( intf_thread_t *pIntf )
 {
-    if( pIntf->p_sys->p_logger )
-    {
-        delete pIntf->p_sys->p_logger;
-        pIntf->p_sys->p_logger = NULL;
-    }
+    delete pIntf->p_sys->p_logger;
+    pIntf->p_sys->p_logger = NULL;
 }