Mercurial > mplayer.hg
changeset 33317:73ba433d4d28
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.
author | reimar |
---|---|
date | Sat, 07 May 2011 19:09:13 +0000 |
parents | 5d4c2ebf56ff |
children | a06e98375ec9 |
files | libmenu/menu_filesel.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libmenu/menu_filesel.c Sat May 07 19:06:26 2011 +0000 +++ b/libmenu/menu_filesel.c Sat May 07 19:09:13 2011 +0000 @@ -233,7 +233,6 @@ 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 @@ 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);