]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/menus.cpp
One more time removing of some useless tests.
[vlc] / modules / gui / qt4 / menus.cpp
index e76a793c05f571c2bfeb242d66fe06e0f7fd45d4..0057d7495d77e378d3eff9238767f85847413a92 100644 (file)
@@ -960,7 +960,7 @@ int QVLCMenu::CreateChoicesMenu( QMenu *submenu, const char *psz_var,
                         NOTCOMMAND && val.psz_string &&
                         !strcmp( val.psz_string, CURVAL.psz_string ) );
 
-                if( val.psz_string ) free( val.psz_string );
+                free( val.psz_string );
                 break;
 
             case VLC_VAR_INTEGER: