movieplayer.cpp: avoid possible unused parameter warning

Origin commit data
------------------
Branch: ni/coolstream
Commit: 8de13f0437
Author: Thilo Graf <dbt@novatux.de>
Date: 2021-06-30 (Wed, 30 Jun 2021)


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

------------------
This commit was generated by Migit
This commit is contained in:
2021-06-30 20:35:27 +02:00
committed by vanhofen
parent 1e1afaf19c
commit 3c1c1a917f

View File

@@ -1026,12 +1026,13 @@ bool CMoviePlayerGui::luaGetUrl(const std::string &script, const std::string &fi
std::string result_code = "";
std::string result_string = "";
std::string lua_script = script;
std::vector<std::string> args;
args.push_back(file);
#ifdef ENABLE_LUA
CLuaInstance *lua = new CLuaInstance();
lua->runScript(script.c_str(), &args, &result_code, &result_string);
lua->runScript(lua_script.c_str(), &args, &result_code, &result_string);
delete lua;
#endif
if ((result_code != "0") || result_string.empty()) {