mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
sectionsdclient: remove unused scanMode variable
This commit is contained in:
@@ -92,7 +92,6 @@ struct sectionsd
|
|||||||
|
|
||||||
struct commandSetConfig
|
struct commandSetConfig
|
||||||
{
|
{
|
||||||
int scanMode;
|
|
||||||
int epg_cache;
|
int epg_cache;
|
||||||
int epg_old_events;
|
int epg_old_events;
|
||||||
unsigned int epg_max_events;
|
unsigned int epg_max_events;
|
||||||
@@ -327,7 +326,6 @@ struct sectionsd
|
|||||||
//
|
//
|
||||||
// setConfig
|
// setConfig
|
||||||
// data of request:
|
// data of request:
|
||||||
// int scanMode; -> updating of services and bouquets -> saved in auto_scanning
|
|
||||||
// int epg_cache; -> in days -> saved in secondsToCache
|
// int epg_cache; -> in days -> saved in secondsToCache
|
||||||
// int epg_old_events; -> in hours -> saved in oldEventsAre
|
// int epg_old_events; -> in hours -> saved in oldEventsAre
|
||||||
// unsigned int epg_max_events; -> #of saved events -> saved in max_events
|
// unsigned int epg_max_events; -> #of saved events -> saved in max_events
|
||||||
|
@@ -208,7 +208,6 @@ void CSectionsdClient::setConfig(const epg_config config)
|
|||||||
char* pData = new char[sizeof(sectionsd::commandSetConfig) + config.network_ntpserver.length() + 1 + config.epg_dir.length() + 1];
|
char* pData = new char[sizeof(sectionsd::commandSetConfig) + config.network_ntpserver.length() + 1 + config.epg_dir.length() + 1];
|
||||||
msg = (sectionsd::commandSetConfig *)pData;
|
msg = (sectionsd::commandSetConfig *)pData;
|
||||||
|
|
||||||
msg->scanMode = config.scanMode;
|
|
||||||
msg->epg_cache = config.epg_cache;
|
msg->epg_cache = config.epg_cache;
|
||||||
msg->epg_old_events = config.epg_old_events;
|
msg->epg_old_events = config.epg_old_events;
|
||||||
msg->epg_max_events = config.epg_max_events;
|
msg->epg_max_events = config.epg_max_events;
|
||||||
|
@@ -163,7 +163,6 @@ class CSectionsdClient : private CBasicClient
|
|||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
int scanMode;
|
|
||||||
int epg_cache;
|
int epg_cache;
|
||||||
int epg_old_events;
|
int epg_old_events;
|
||||||
int epg_max_events;
|
int epg_max_events;
|
||||||
|
Reference in New Issue
Block a user