[vlc-devel] commit: macosx: Fix tautology. (Pierre d'Herbemont )

git version control git at videolan.org
Sat Sep 27 17:27:58 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Sep 27 17:30:33 2008 +0200| [c79d407e70f1eae04363e3622fc8fd8eb2495977] | committer: Pierre d'Herbemont 

macosx: Fix tautology.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c79d407e70f1eae04363e3622fc8fd8eb2495977
---

 modules/gui/macosx/playlistinfo.m |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/modules/gui/macosx/playlistinfo.m b/modules/gui/macosx/playlistinfo.m
index eac0d91..9232351 100644
--- a/modules/gui/macosx/playlistinfo.m
+++ b/modules/gui/macosx/playlistinfo.m
@@ -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 {




More information about the vlc-devel mailing list