changeset 35552:546350153838

Merge declaration and initialization.
author ib
date Mon, 10 Dec 2012 01:54:22 +0000
parents 99a11b051705
children 29f2de5e63d6
files gui/interface.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gui/interface.c	Mon Dec 10 01:50:02 2012 +0000
+++ b/gui/interface.c	Mon Dec 10 01:54:22 2012 +0000
@@ -848,9 +848,7 @@
                 if (!listMgr(PLAYLIST_ITEM_GET_CURR, 0))
                     uiUnsetFile();
                 else {
-                    plItem *curr;
-
-                    curr = listMgr(PLAYLIST_ITEM_SET_CURR, listMgr(PLAYLIST_GET, 0));
+                    plItem *curr = listMgr(PLAYLIST_ITEM_SET_CURR, listMgr(PLAYLIST_GET, 0));
                     uiSetFile(curr->path, curr->name, STREAMTYPE_FILE);
                     guiInfo.Track = 1;
                 }