From: Andreas Monzner Date: Sun, 15 Jan 2006 15:25:06 +0000 (+0000) Subject: no eFatal needed.. default is tuner 0 X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=45e3ce941d85ae909f9cb9e350e79e765a9fd5a1 no eFatal needed.. default is tuner 0 --- diff --git a/lib/dvb_ci/dvbci.cpp b/lib/dvb_ci/dvbci.cpp index 5b0ea90..7c2774e 100644 --- a/lib/dvb_ci/dvbci.cpp +++ b/lib/dvb_ci/dvbci.cpp @@ -88,7 +88,6 @@ int eDVBCIInterfaces::enableTS(int slotid, int enable) int tunernum = 0; if (enable) { - tunernum=-1; PMTHandlerList::iterator it = m_pmt_handlers.begin(); while (it != m_pmt_handlers.end()) { @@ -109,11 +108,6 @@ int eDVBCIInterfaces::enableTS(int slotid, int enable) } ++it; } - if ( tunernum == -1 ) - { - eFatal("couldn't find the correct tuner num in enableTS"); - return -1; - } } return slot->enableTS(enable, tunernum); }