From 5f2e3fb22a27a341e2883e5fb813731c60ae7b40 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 2 Apr 2012 16:43:13 +0400 Subject: [PATCH] zapit/src/zapit.cpp: comment unused scanType --- src/zapit/src/zapit.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index d97216b0f..0db2cb3d3 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -97,7 +97,7 @@ int zapit_debug = 0; transponder_list_t transponders; CZapitClient::bouquetMode bouquetMode = CZapitClient::BM_UPDATEBOUQUETS; -CZapitClient::scanType scanType = CZapitClient::ST_TVRADIO; +//static CZapitClient::scanType scanType = CZapitClient::ST_TVRADIO; //static TP_params TP; @@ -1179,7 +1179,8 @@ printf("[zapit] TP_id %d freq %d rate %d fec %d pol %d\n", TP.TP_id, TP.feparams break; case CZapitMessages::CMD_SCANSETTYPE: - CBasicServer::receive_data(connfd, &scanType, sizeof(scanType)); + //CBasicServer::receive_data(connfd, &scanType, sizeof(scanType)); + ERROR("CZapitMessages::CMD_SCANSETTYPE: depreciated command\n"); break; case CZapitMessages::CMD_SET_EVENT_MODE: {