sectionsdclient: remove unused scanMode variable

This commit is contained in:
Stefan Seyfried
2017-02-11 14:45:37 +01:00
parent 4226ba01d2
commit 6d73a4465d
3 changed files with 0 additions and 4 deletions

View File

@@ -92,7 +92,6 @@ struct sectionsd
struct commandSetConfig
{
int scanMode;
int epg_cache;
int epg_old_events;
unsigned int epg_max_events;
@@ -327,7 +326,6 @@ struct sectionsd
//
// setConfig
// data of request:
// int scanMode; -> updating of services and bouquets -> saved in auto_scanning
// int epg_cache; -> in days -> saved in secondsToCache
// int epg_old_events; -> in hours -> saved in oldEventsAre
// unsigned int epg_max_events; -> #of saved events -> saved in max_events

View File

@@ -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];
msg = (sectionsd::commandSetConfig *)pData;
msg->scanMode = config.scanMode;
msg->epg_cache = config.epg_cache;
msg->epg_old_events = config.epg_old_events;
msg->epg_max_events = config.epg_max_events;

View File

@@ -163,7 +163,6 @@ class CSectionsdClient : private CBasicClient
typedef struct
{
int scanMode;
int epg_cache;
int epg_old_events;
int epg_max_events;