[MPlayer-cvslog] r34146 - in trunk/gui: interface.c win32/interface.c

ib subversion at mplayerhq.hu
Wed Sep 28 18:55:52 CEST 2011


Author: ib
Date: Wed Sep 28 18:55:52 2011
New Revision: 34146

Log:
Remove pointless assignment.

In case a playlist is added, playback will continue with the first
file in that list and filename will be set to that file's name then.

Modified:
   trunk/gui/interface.c
   trunk/gui/win32/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Wed Sep 28 18:17:35 2011	(r34145)
+++ trunk/gui/interface.c	Wed Sep 28 18:55:52 2011	(r34146)
@@ -916,7 +916,6 @@ int guiPlaylistAdd(play_tree_t *my_playt
         listSet(gtkDelCurrPlItem, NULL);
 
     uiCurr();   // update filename
-    filename = NULL;
 
     return result;
 }

Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c	Wed Sep 28 18:17:35 2011	(r34145)
+++ trunk/gui/win32/interface.c	Wed Sep 28 18:55:52 2011	(r34146)
@@ -759,7 +759,6 @@ int guiPlaylistAdd(play_tree_t *my_playt
                 result = 1;
         pt_iter_destroy(&my_pt_iter);
     }
-    filename = NULL;
     return result;
 }
 


More information about the MPlayer-cvslog mailing list