From 63f8a13125aad9b18fb6fa2e66efe7c89eeb5fae Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 11 Dec 2017 23:38:08 +0100 Subject: [PATCH] zapit/channel: fix issue tag from b86d72f2d490e7d54311d62eea679068e183a426 Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/cda63a9242910ce0093f6c28602c2ec561bc01e3 Author: vanhofen Date: 2017-12-11 (Mon, 11 Dec 2017) Origin message was: ------------------ - zapit/channel: fix issue tag from b86d72f2d490e7d54311d62eea679068e183a426 --- 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: