changeset 35403:e93282a4e332

Remove variable assignment. It's an unused pointer value, because this dummy node won't be referred to. (It will be found by its value NULL user data later.)
author ib
date Wed, 28 Nov 2012 13:46:24 +0000
parents f9c4c37a7a43
children 0ab323ecb781
files gui/ui/gtk/playlist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/gtk/playlist.c	Wed Nov 28 12:23:28 2012 +0000
+++ b/gui/ui/gtk/playlist.c	Wed Nov 28 13:46:24 2012 +0000
@@ -397,7 +397,7 @@
 	 subdir=check_for_subdir( path );
 	 node=gtk_ctree_insert_node( ctree,parent_node,NULL,(name ? &name : &text ),4,pxOpenedBook,msOpenedBook,pxClosedBook,msClosedBook,!subdir,FALSE );
 	 gtk_ctree_node_set_row_data_full( ctree,node,DirNode,NULL );
-	 if ( subdir ) node=gtk_ctree_insert_node( ctree,node,NULL,&dummy,4,NULL,NULL,NULL,NULL,FALSE,FALSE );
+	 if ( subdir ) gtk_ctree_insert_node( ctree,node,NULL,&dummy,4,NULL,NULL,NULL,NULL,FALSE,FALSE );
 	}
        free( path ); path=NULL;
       }