]> git.sesse.net Git - vlc/commitdiff
macosx: Fix tautology.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 27 Sep 2008 15:30:33 +0000 (17:30 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 27 Sep 2008 15:30:33 +0000 (17:30 +0200)
modules/gui/macosx/playlistinfo.m

index eac0d916445e561117e7c2e4bba846c829405eaa..9232351a94e34a962774b10ad14341c78cbaa8f5 100644 (file)
@@ -575,11 +575,8 @@ error:
 {
     if( p_item ) vlc_gc_decref( p_item );
     p_item = [[[VLCMain sharedInstance] getInfo] item];
-    if( o_children != NULL )
-    {
-        [o_children release];
-        o_children = NULL;
-    }
+    [o_children release];
+    o_children = nil;
 }
 
 - (VLCInfoTreeItem *)childAtIndex:(int)i_index {