changeset 34058:19e2b5682587

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.
author ib
date Wed, 28 Sep 2011 16:55:52 +0000
parents 418e04046d98
children 8a80fb185741
files gui/interface.c gui/win32/interface.c
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Wed Sep 28 16:17:35 2011 +0000
+++ b/gui/interface.c	Wed Sep 28 16:55:52 2011 +0000
@@ -916,7 +916,6 @@
         listSet(gtkDelCurrPlItem, NULL);
 
     uiCurr();   // update filename
-    filename = NULL;
 
     return result;
 }
--- a/gui/win32/interface.c	Wed Sep 28 16:17:35 2011 +0000
+++ b/gui/win32/interface.c	Wed Sep 28 16:55:52 2011 +0000
@@ -759,7 +759,6 @@
                 result = 1;
         pt_iter_destroy(&my_pt_iter);
     }
-    filename = NULL;
     return result;
 }