[MPlayer-cvslog] r35646 - trunk/gui/interface.c

ib subversion at mplayerhq.hu
Mon Dec 10 02:54:22 CET 2012


Author: ib
Date: Mon Dec 10 02:54:22 2012
New Revision: 35646

Log:
Merge declaration and initialization.

Modified:
   trunk/gui/interface.c

Modified: trunk/gui/interface.c
==============================================================================
--- trunk/gui/interface.c	Mon Dec 10 02:50:02 2012	(r35645)
+++ trunk/gui/interface.c	Mon Dec 10 02:54:22 2012	(r35646)
@@ -848,9 +848,7 @@ int gui(int what, void *data)
                 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;
                 }


More information about the MPlayer-cvslog mailing list