From 45d61f49e384d56fad613d20f364a0a215cea5cd Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 11 Dec 2017 23:38:08 +0100 Subject: [PATCH] - zapit/channel: fix issue tag from 4bacd77f8bcd61c21b99a1cfc52fce6a8d46c5fd Signed-off-by: Thilo Graf --- src/zapit/src/channel.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/zapit/src/channel.cpp b/src/zapit/src/channel.cpp index 7779d6728..b36242c74 100644 --- a/src/zapit/src/channel.cpp +++ b/src/zapit/src/channel.cpp @@ -211,14 +211,9 @@ bool CZapitChannel::isUHD() case ST_DIGITAL_TELEVISION_SERVICE: case 0x19: { - std::string uhd = "UHD"; - if(strstr(name.c_str(),uhd.c_str())) + if (strstr(name.c_str(), "UHD")) return true; - uhd = "4K"; - if(strstr(name.c_str(),uhd.c_str())) - return true; - uhd = "4k"; - if(strstr(name.c_str(),uhd.c_str())) //FIXME: this statement may fall through + if (strstr(name.c_str(), "4k")) return true; } default: