From: Pierre d'Herbemont Date: Sat, 27 Sep 2008 15:30:33 +0000 (+0200) Subject: macosx: Fix tautology. X-Git-Tag: 1.0.0-pre1~2890 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c79d407e70f1eae04363e3622fc8fd8eb2495977;p=vlc macosx: Fix tautology. --- diff --git a/modules/gui/macosx/playlistinfo.m b/modules/gui/macosx/playlistinfo.m index eac0d91644..9232351a94 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 {