mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
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:
@@ -1026,12 +1026,13 @@ bool CMoviePlayerGui::luaGetUrl(const std::string &script, const std::string &fi
|
|||||||
|
|
||||||
std::string result_code = "";
|
std::string result_code = "";
|
||||||
std::string result_string = "";
|
std::string result_string = "";
|
||||||
|
std::string lua_script = script;
|
||||||
|
|
||||||
std::vector<std::string> args;
|
std::vector<std::string> args;
|
||||||
args.push_back(file);
|
args.push_back(file);
|
||||||
#ifdef ENABLE_LUA
|
#ifdef ENABLE_LUA
|
||||||
CLuaInstance *lua = new CLuaInstance();
|
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;
|
delete lua;
|
||||||
#endif
|
#endif
|
||||||
if ((result_code != "0") || result_string.empty()) {
|
if ((result_code != "0") || result_string.empty()) {
|
||||||
|
Reference in New Issue
Block a user