some never read compil warning fixes

This commit is contained in:
Jacek Jendrzej
2016-04-24 17:18:37 +02:00
parent a471b2af10
commit 0d9fbd5378
19 changed files with 19 additions and 38 deletions

View File

@@ -556,7 +556,6 @@ void EpgPlus::createChannelEntries (int selectedChannelEntryIndex)
CEitManager::getInstance()->getEventsServiceKey(channel->getEpgID(), channelEventList);
//printf("channelEventList size %d\n", channelEventList.size());
int xPosEventEntry = this->eventsTableX;
int widthEventEntry = 0;
time_t lastEndTime = this->startTime;
@@ -601,7 +600,7 @@ void EpgPlus::createChannelEntries (int selectedChannelEntryIndex)
channelEntry->channelEventEntries.push_back (channelEventEntry);
}
// correct position
xPosEventEntry = this->eventsTableX + ((It->startTime - startTimeDiff - this->startTime) * this->eventsTableWidth) / this->duration;
int xPosEventEntry = this->eventsTableX + ((It->startTime - startTimeDiff - this->startTime) * this->eventsTableWidth) / this->duration;
// correct width
widthEventEntry = ((It->duration + startTimeDiff + endTimeDiff) * this->eventsTableWidth) / this->duration + 1;