]> git.sesse.net Git - vlc/commitdiff
Mac OS X gui: Small code cleanup. Remove NSLogs, avoid code redundancy.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 7 Mar 2007 21:02:18 +0000 (21:02 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Wed, 7 Mar 2007 21:02:18 +0000 (21:02 +0000)
modules/gui/macosx/playlist.m

index f9176885b06a2af9c9bb7562c964d9f8f8b8ddb0..144f2682a4fb46331803ed9b1db8d3e7f609b89f 100644 (file)
 
     if( i_return <= 0 )
         i_return = 0;
-NSLog( @"%d children for %s", i_return, p_item->p_input->psz_name ); 
+
     return i_return;
 }
 
@@ -198,9 +198,7 @@ NSLog( @"%d children for %s", i_return, p_item->p_input->psz_name );
     vlc_object_release( p_playlist );
 
     o_value = [o_outline_dict objectForKey:[NSString stringWithFormat: @"%p", p_return]];
-    #if 0
-    NSLog( @"%s", p_return->p_input->psz_name);
-    #endif
+
     if( o_value == nil )
     {
         o_value = [[NSValue valueWithPointer: p_return] retain];
@@ -231,11 +229,7 @@ NSLog( @"%d children for %s", i_return, p_item->p_input->psz_name );
     }
     vlc_object_release( p_playlist );
 
-NSLog( @"expandable" ); 
-    if( i_return <= 0 )
-        return NO;
-    else
-        return YES;
+    return (i_return > 0);
 }
 
 /* retrieve the string values for the cells */
@@ -251,7 +245,6 @@ NSLog( @"expandable" );
     {
         return( @"error");
     }
-//NSLog( @"values for %p", p_item ); 
     
     if( [[o_tc identifier] isEqualToString:@"1"] )
     {