Ticket #7157: libs_libmythtv-hidden-parameter

File libs_libmythtv-hidden-parameter, 1.0 KB (added by Erik Hovland <erik@…>, 11 years ago)

Unhides parameters in libmythtv

Line 
1it is used as a function parameter.
2
3From: Erik Hovland <erik@hovland.org>
4
5
6---
7
8 .../libs/libmythtv/channelscan/channelscan_sm.cpp  |    6 +++---
9 1 files changed, 3 insertions(+), 3 deletions(-)
10
11
12diff --git a/mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp b/mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp
13index b972c8b..568353e 100644
14--- a/mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp
15+++ b/mythtv/libs/libmythtv/channelscan/channelscan_sm.cpp
16@@ -1143,11 +1143,11 @@ ChannelScanSM::GetChannelList(transport_scan_items_it_t trans_info,
17         if (!info.chan_num.isEmpty())
18             continue;
19 
20-        QMap<qlonglong, uint>::const_iterator it = ukChanNums.find(
21+        QMap<qlonglong, uint>::const_iterator ukchan_it = ukChanNums.find(
22             ((qlonglong)info.orig_netid<<32) | info.service_id);
23 
24-        if (it != ukChanNums.end())
25-            info.chan_num = QString::number(*it);
26+        if (ukchan_it != ukChanNums.end())
27+            info.chan_num = QString::number(*ukchan_it);
28     }
29 
30     // Check for decryption success