mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- tuxboxapi: fix compiler warning
Conflicts: src/nhttpd/tuxboxapi/neutrinoyparser.cpp
This commit is contained in:
@@ -3407,7 +3407,6 @@ void CControlAPI::xmltvlistCGI(CyhookHandler *hh)
|
||||
std::vector<std::string>::iterator it;
|
||||
std::vector<std::string> url_list;
|
||||
std::string tmp;
|
||||
std::string::size_type i = 0;
|
||||
|
||||
if (!hh->ParamList["webtv"].empty())
|
||||
{
|
||||
|
@@ -1262,7 +1262,10 @@ std::string CNeutrinoYParser::func_set_bouquet_edit_form(CyhookHandler *hh, std
|
||||
return "No Bouquet selected";
|
||||
}
|
||||
|
||||
std::string CNeutrinoYParser::func_get_webtv_list(CyhookHandler *hh, std::string para)
|
||||
//-------------------------------------------------------------------------
|
||||
// y-funcs : func_get_webtv/webradio/xmltv_list
|
||||
//-------------------------------------------------------------------------
|
||||
std::string CNeutrinoYParser::func_get_webtv_list(CyhookHandler *, std::string)
|
||||
{
|
||||
std::string yresult;
|
||||
for (std::list<std::string>::iterator it = g_settings.webtv_xml.begin(); it != g_settings.webtv_xml.end(); it++)
|
||||
@@ -1270,7 +1273,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<std::string>::iterator it = g_settings.webradio_xml.begin(); it != g_settings.webradio_xml.end(); it++)
|
||||
@@ -1278,10 +1281,10 @@ 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<std::string>::iterator it = g_settings.xmltv_xml.begin(); it != g_settings.xmltv_xml.end(); it++)
|
||||
yresult += string_printf((*it).c_str()) + "\n";
|
||||
return yresult;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user