[SCM] kodi-pvr-hts/master: remove pointless "update" boolean, we only use it for logging
tiber-guest at users.alioth.debian.org
tiber-guest at users.alioth.debian.org
Wed Mar 2 23:01:42 UTC 2016
The following commit has been merged in the master branch:
commit b4cd7ca9d806aef7796c0e7fd9a9b12036c36acd
Author: Sam Stenvall <neggelandia at gmail.com>
Date: Sat Jun 13 14:53:16 2015 +0300
remove pointless "update" boolean, we only use it for logging
diff --git a/src/Tvheadend.cpp b/src/Tvheadend.cpp
index 38f61c5..b90dfa3 100644
--- a/src/Tvheadend.cpp
+++ b/src/Tvheadend.cpp
@@ -1380,41 +1380,28 @@ void CTvheadend::SyncChannelsCompleted ( void )
if (m_asyncState.GetState() > ASYNC_CHN)
return;
- bool update;
SChannels::iterator cit = m_channels.begin();
htsp::Tags::iterator tit = m_tags.begin();
/* Tags */
- update = false;
while (tit != m_tags.end())
{
if (tit->second.IsDirty())
- {
- update = true;
m_tags.erase(tit++);
- }
else
++tit;
}
TriggerChannelGroupsUpdate();
- if (update)
- tvhinfo("tags updated");
/* Channels */
- update = false;
while (cit != m_channels.end())
{
if (cit->second.del)
- {
- update = true;
m_channels.erase(cit++);
- }
else
++cit;
}
TriggerChannelUpdate();
- if (update)
- tvhinfo("channels updated");
/* Next */
m_asyncState.SetState(ASYNC_DVR);
--
kodi-pvr-hts packaging
More information about the pkg-multimedia-commits
mailing list