[MPlayer-cvslog] r35497 - trunk/gui/ui/gtk/playlist.c

ib subversion at mplayerhq.hu
Wed Nov 28 14:46:25 CET 2012


Author: ib
Date: Wed Nov 28 14:46:24 2012
New Revision: 35497

Log:
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.)

Modified:
   trunk/gui/ui/gtk/playlist.c

Modified: trunk/gui/ui/gtk/playlist.c
==============================================================================
--- trunk/gui/ui/gtk/playlist.c	Wed Nov 28 13:23:28 2012	(r35496)
+++ trunk/gui/ui/gtk/playlist.c	Wed Nov 28 14:46:24 2012	(r35497)
@@ -397,7 +397,7 @@ static void plCTree( GtkCTree * ctree,Gt
 	 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;
       }


More information about the MPlayer-cvslog mailing list