From 5ac755f75c0657977e0108360be68df2b13a9a49 Mon Sep 17 00:00:00 2001 From: Ezak Date: Fri, 19 Feb 2016 21:37:02 +0100 Subject: [PATCH] remove unused vars in controlapi --- src/nhttpd/tuxboxapi/controlapi.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/nhttpd/tuxboxapi/controlapi.cpp b/src/nhttpd/tuxboxapi/controlapi.cpp index af3a3c07e..cde36f552 100644 --- a/src/nhttpd/tuxboxapi/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/controlapi.cpp @@ -3479,7 +3479,6 @@ void CControlAPI::getDirCGI(CyhookHandler *hh) CConfigFile *Config = new CConfigFile(','); Config->loadConfig(MOVIEBROWSER_CONFIGFILE); char index[21]; - std::string mb_dir_used; std::string mb_dir; for(int i=0;i<8;i++) { @@ -3530,7 +3529,6 @@ void CControlAPI::getDirCGI(CyhookHandler *hh) std::string CControlAPI::getSubdirectories(CyhookHandler *hh, std::string path, std::string result) { std::string item = ""; - std::string dirname; DIR *dirp; struct dirent *entry;