some inits and never read var

Origin commit data
------------------
Branch: ni/coolstream
Commit: ba600f0e5c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2017-08-23 (Wed, 23 Aug 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2017-08-23 12:58:26 +02:00
parent c592fe60d6
commit d7856dc0ce
8 changed files with 10 additions and 7 deletions

View File

@@ -1472,7 +1472,6 @@ void CMoviePlayerGui::PlayFileLoop(void)
disableOsdElements(MUTE);
CFileBrowser *playlist = new CFileBrowser();
CFile *pfile = NULL;
pfile = &(*filelist_it);
int selected = std::distance( filelist.begin(), filelist_it );
filelist_it = filelist.end();
if (playlist->playlist_manager(filelist, selected))
@@ -2451,7 +2450,6 @@ bool CMoviePlayerGui::convertSubtitle(std::string &text)
else {
memset(buf + (len - olen), 0, olen);
text = buf;
ret = true;
}
free(buf);