[SCM] kodi-pvr-hts/master: Removed unused vars from ChannelTuningPredictor::PredictNextChannelId

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Wed Mar 2 23:01:49 UTC 2016


The following commit has been merged in the master branch:
commit 32d5365b68efbb6435d0c54444108ef8e3ca7b18
Author: Kai Sommerfeld <kai.sommerfeld at gmx.com>
Date:   Sun Nov 8 17:29:05 2015 +0100

    Removed unused vars from ChannelTuningPredictor::PredictNextChannelId

diff --git a/src/tvheadend/ChannelTuningPredictor.cpp b/src/tvheadend/ChannelTuningPredictor.cpp
index f60774b..cd0576b 100644
--- a/src/tvheadend/ChannelTuningPredictor.cpp
+++ b/src/tvheadend/ChannelTuningPredictor.cpp
@@ -68,8 +68,6 @@ uint32_t ChannelTuningPredictor::PredictNextChannelId(uint32_t tuningFrom, uint3
   auto toIt = GetIterator(tuningTo);
 
   /* Determine the respective channel numbers as well as the first channel */
-  uint32_t fromNum = fromIt->second;
-  uint32_t toNum = toIt->second;
   uint32_t firstNum = m_channels.cbegin()->second;
 
   /* Create an iterator for the predicted channel. If prediction succeeds,

-- 
kodi-pvr-hts packaging



More information about the pkg-multimedia-commits mailing list