fix unused variables

This commit is contained in:
BPanther
2021-10-19 22:35:24 +02:00
committed by Thilo Graf
parent 482cae3f90
commit 3b0aaf8944
2 changed files with 3 additions and 3 deletions

View File

@@ -279,7 +279,7 @@ CQuadPiPSetupSelectChannelWidget::~CQuadPiPSetupSelectChannelWidget()
{ {
} }
int CQuadPiPSetupSelectChannelWidget::InitZapitChannelHelper(CZapitClient::channelsMode /*mode*/) int CQuadPiPSetupSelectChannelWidget::InitZapitChannelHelper()
{ {
std::vector<CMenuWidget *> toDelete; std::vector<CMenuWidget *> toDelete;
CMenuWidget mctv(LOCALE_TIMERLIST_BOUQUETSELECT, NEUTRINO_ICON_SETTINGS); CMenuWidget mctv(LOCALE_TIMERLIST_BOUQUETSELECT, NEUTRINO_ICON_SETTINGS);
@@ -331,7 +331,7 @@ int CQuadPiPSetupSelectChannelWidget::exec(CMenuTarget *parent, const std::strin
if (actionKey.find("window_") != std::string::npos) if (actionKey.find("window_") != std::string::npos)
{ {
wn = atoi(actionKey.substr(7, 1).c_str()) - 1; wn = atoi(actionKey.substr(7, 1).c_str()) - 1;
return InitZapitChannelHelper(CZapitClient::MODE_TV); return InitZapitChannelHelper();
} }
else if (strncmp(actionKey.c_str(), "ZCT:", 4) == 0) else if (strncmp(actionKey.c_str(), "ZCT:", 4) == 0)
{ {

View File

@@ -48,7 +48,7 @@ class CQuadPiPSetupNotifier : public CChangeObserver
class CQuadPiPSetupSelectChannelWidget : public CMenuWidget class CQuadPiPSetupSelectChannelWidget : public CMenuWidget
{ {
private: private:
int InitZapitChannelHelper(CZapitClient::channelsMode mode); int InitZapitChannelHelper();
public: public:
CQuadPiPSetupSelectChannelWidget(); CQuadPiPSetupSelectChannelWidget();