nhttpd: unused var and function

This commit is contained in:
Jacek Jendrzej
2016-03-19 16:13:56 +01:00
parent c5f3531913
commit 136955157d
5 changed files with 11 additions and 10 deletions

View File

@@ -3583,14 +3583,13 @@ std::string CControlAPI::getSubdirectories(CyhookHandler *hh, std::string path,
//-----------------------------------------------------------------------------
void CControlAPI::getMoviesCGI(CyhookHandler *hh) {
std::string result = "";
bool isFirstLine = true;
bool subdirs = true;
if(hh->ParamList["subdirs"] == "false") {
subdirs = false;
}
TOutType outType = hh->outStart();
hh->outStart();
//Shows all movies with path in moviebrowser.conf
if (hh->ParamList["dir"] == "moviedir" || hh->ParamList["dir"] == "allmoviedirs" ) {