From b374a75bb0b1b04f6edb83078f89b47265a5eccd Mon Sep 17 00:00:00 2001 From: max_10 Date: Wed, 19 Sep 2018 19:33:36 +0200 Subject: [PATCH] src/zapit/src/channel: fix warning: this statement may fall through [-Wimplicit-fallthrough=] Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/abf7116ab217df0e6407a4d803f60c98c4b5d743 Author: max_10 Date: 2018-09-19 (Wed, 19 Sep 2018) Origin message was: ------------------ -src/zapit/src/channel: fix warning: this statement may fall through [-Wimplicit-fallthrough=] ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/zapit/src/channel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zapit/src/channel.cpp b/src/zapit/src/channel.cpp index 44af7deb3..4cc5f4198 100644 --- a/src/zapit/src/channel.cpp +++ b/src/zapit/src/channel.cpp @@ -216,10 +216,10 @@ bool CZapitChannel::isUHD() case ST_DIGITAL_TELEVISION_SERVICE: case 0x19: { - if (strstr(name.c_str(), "UHD")) - return true; - if (strstr(name.c_str(), "4k")) + if (strstr(name.c_str(), "UHD") || (strstr(name.c_str(), "4k"))) return true; + else + return false; } default: return false;