streaminfo2: clean up from unused code

Origin commit data
------------------
Commit: 07471c158e
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-03-17 (Sun, 17 Mar 2019)

Origin message was:
------------------
- streaminfo2: clean up from unused code
This commit is contained in:
vanhofen
2019-03-17 00:53:15 +01:00
parent f4403e4d76
commit 81aa41d800

View File

@@ -1232,7 +1232,6 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos)
std::string casys[NUM_CAIDS] = {"Irdeto:", "Betacrypt:", "Seca:", "Viaccess:", "Nagra:", "Conax: ", "Cryptoworks:", "Videoguard:", "Biss:", "DreCrypt:", "PowerVU:", "Tandberg:"};
bool caids[NUM_CAIDS];
int array[NUM_CAIDS];
char tmp[100];
CZapitChannel *channel = CZapit::getInstance()->GetCurrentChannel();
@@ -1241,7 +1240,6 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos)
for (int i = 0; i < NUM_CAIDS; i++)
{
array[i] = g_FixedFont[font_small]->getRenderWidth(casys[i]);
caids[i] = false;
}
@@ -1260,8 +1258,6 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos)
fclose(f);
}
int off = 0;
for (casys_map_iterator_t it = channel->camap.begin(); it != channel->camap.end(); ++it)
{
int idx = -1;
@@ -1311,12 +1307,9 @@ void CStreamInfo2::paintCASystem(int xpos, int ypos)
snprintf(tmp, sizeof(tmp), " 0x%04X", (*it));
casys[idx] += tmp;
caids[idx] = true;
if (off < array[idx])
off = array[idx];
}
}
off += OFFSET_INNER_SMALL;
bool cryptsystems = true;
for (int ca_id = 0; ca_id < NUM_CAIDS; ca_id++)
{