Most of the time chanInfo is used to do something in channelrecpriority.
From: Erik Hovland <erik@hovland.org>
But this code does not. Since it was likely copied from somewhere else
this oversight seems to have crept in. This patch removes that
extra call.
---
programs/mythfrontend/channelrecpriority.cpp | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/programs/mythfrontend/channelrecpriority.cpp b/programs/mythfrontend/channelrecpriority.cpp
index e56d053..5ed8906 100644
|
a
|
b
|
void ChannelRecPriority::SortList()
|
| 548 | 548 | // find recPriorityInfo[i] in cdCopy |
| 549 | 549 | for (j = 0, pit = cdCopy.begin(); j !=recPriorityInfo->cnt; j++, ++pit); |
| 550 | 550 | |
| 551 | | chanInfo = &(pit.data()); |
| 552 | | |
| 553 | 551 | // put back into channelData |
| 554 | 552 | channelData[QString::number(999-i)] = pit.data(); |
| 555 | 553 | |