satisfy compiler

Signed-off-by: Thilo Graf <dbt@novatux.de>

Possible error was:
operation on ‘iColon’ may be undefined, possible sequence-point error
This commit is contained in:
TangoCash
2018-08-23 08:57:00 +02:00
committed by Thilo Graf
parent adf7457279
commit 29fe639ad3

View File

@@ -964,8 +964,9 @@ void CBouquetManager::loadWebchannels(int mode)
if (iColon >= 0 && iComma >= 0 && iComma > iColon)
{
iComma++;
iColon++;
title = strLine.substr(iComma);
std::string strInfoLine = strLine.substr(++iColon, --iComma - iColon);
std::string strInfoLine = strLine.substr(iColon, --iComma - iColon);
desc = ReadMarkerValue(strInfoLine, TVG_INFO_NAME_MARKER);
group = ReadMarkerValue(strInfoLine, GROUP_NAME_MARKER);
epgid = ReadMarkerValue(strInfoLine, TVG_INFO_ID_MARKER);