[MPlayer-cvslog] r33404 - trunk/libmenu/menu_filesel.c
reimar
subversion at mplayerhq.hu
Sat May 7 21:09:13 CEST 2011
Author: reimar
Date: Sat May 7 21:09:13 2011
New Revision: 33404
Log:
Remove variable and code that was obviously forgotten when the
replace_path function was introduced.
Fixes a compiler warning about a variable that is set but never used.
Modified:
trunk/libmenu/menu_filesel.c
Modified: trunk/libmenu/menu_filesel.c
==============================================================================
--- trunk/libmenu/menu_filesel.c Sat May 7 21:06:26 2011 (r33403)
+++ trunk/libmenu/menu_filesel.c Sat May 7 21:09:13 2011 (r33404)
@@ -233,7 +233,6 @@ static int open_dir(menu_t* menu,char* a
struct stat st;
int n;
int path_fp;
- char* p = NULL;
list_entry_t* e;
DIR* dirp;
char **extensions, **elem, *ext;
@@ -244,7 +243,6 @@ static int open_dir(menu_t* menu,char* a
mpriv->dir = strdup(args);
if(mpriv->p.title && mpriv->p.title != mpriv->title && mpriv->p.title != cfg_dflt.p.title)
free(mpriv->p.title);
- p = strstr(mpriv->title,"%p");
mpriv->p.title = replace_path(mpriv->title,mpriv->dir,0);
More information about the MPlayer-cvslog
mailing list