From fb0d6057d30df5cd3a6890b34272ec85009b41c3 Mon Sep 17 00:00:00 2001 From: max_10 Date: Sat, 18 Sep 2021 20:48:48 +0200 Subject: [PATCH] tuxboxapi: fix compiler warning Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/c16b889303ae7416d7e329a4a8fd25d62e93b646 Author: max_10 Date: 2021-09-18 (Sat, 18 Sep 2021) Origin message was: ------------------ - tuxboxapi: fix compiler warning ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/nhttpd/tuxboxapi/controlapi.cpp | 1 - src/nhttpd/tuxboxapi/neutrinoyparser.cpp | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/nhttpd/tuxboxapi/controlapi.cpp b/src/nhttpd/tuxboxapi/controlapi.cpp index fab0ed17a..a42cbc960 100644 --- a/src/nhttpd/tuxboxapi/controlapi.cpp +++ b/src/nhttpd/tuxboxapi/controlapi.cpp @@ -3435,7 +3435,6 @@ void CControlAPI::xmltvlistCGI(CyhookHandler *hh) std::vector::iterator it; std::vector url_list; std::string tmp; - std::string::size_type i = 0; if (!hh->ParamList["webtv"].empty()) { diff --git a/src/nhttpd/tuxboxapi/neutrinoyparser.cpp b/src/nhttpd/tuxboxapi/neutrinoyparser.cpp index 2dc87b865..2faf90926 100644 --- a/src/nhttpd/tuxboxapi/neutrinoyparser.cpp +++ b/src/nhttpd/tuxboxapi/neutrinoyparser.cpp @@ -1276,7 +1276,7 @@ std::string CNeutrinoYParser::func_set_bouquet_edit_form(CyhookHandler *hh, std //------------------------------------------------------------------------- // y-funcs : func_get_webtv/webradio/xmltv_list //------------------------------------------------------------------------- -std::string CNeutrinoYParser::func_get_webtv_list(CyhookHandler *hh, std::string para) +std::string CNeutrinoYParser::func_get_webtv_list(CyhookHandler *, std::string) { std::string yresult; for (std::list::iterator it = g_settings.webtv_xml.begin(); it != g_settings.webtv_xml.end(); it++) @@ -1284,7 +1284,7 @@ std::string CNeutrinoYParser::func_get_webtv_list(CyhookHandler *hh, std::string return yresult; } -std::string CNeutrinoYParser::func_get_webradio_list(CyhookHandler *hh, std::string para) +std::string CNeutrinoYParser::func_get_webradio_list(CyhookHandler *, std::string) { std::string yresult; for (std::list::iterator it = g_settings.webradio_xml.begin(); it != g_settings.webradio_xml.end(); it++) @@ -1292,7 +1292,7 @@ std::string CNeutrinoYParser::func_get_webradio_list(CyhookHandler *hh, std::str return yresult; } -std::string CNeutrinoYParser::func_get_xmltv_list(CyhookHandler *hh, std::string para) +std::string CNeutrinoYParser::func_get_xmltv_list(CyhookHandler *, std::string) { std::string yresult; for (std::list::iterator it = g_settings.xmltv_xml.begin(); it != g_settings.xmltv_xml.end(); it++)