]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/controls.m
One more time removing of some useless tests.
[vlc] / modules / gui / macosx / controls.m
index 7a8d41b8af8965658c38eea4ff5969e3abd1dfd7..9ad5c89c3517bd52feb8266b1c96a742ca04eba8 100644 (file)
         [self setupVarMenu: o_menu forMenuItem: o_mi target:p_object
                         var:psz_variable selector:pf_callback];
  
-        if( text.psz_string ) free( text.psz_string );
+        free( text.psz_string );
         return;
     }
 
         break;
 
     default:
-        if( text.psz_string ) free( text.psz_string );
+        free( text.psz_string );
         return;
     }
 
     if( ( i_type & VLC_VAR_TYPE ) == VLC_VAR_STRING ) free( val.psz_string );
-    if( text.psz_string ) free( text.psz_string );
+    free( text.psz_string );
 }