Skip to content

Commit

Permalink
cppcheck: Remove unused variable in myth system.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Oct 2, 2020
1 parent 807731a commit e5be0ea
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mythtv/libs/libmythtv/mythsystemevent.cpp
Expand Up @@ -112,7 +112,6 @@ void MythSystemEventHandler::SubstituteMatches(const QStringList &tokens,
QString args;
uint chanid = 0;
QDateTime recstartts;
QString sender;

QStringList::const_iterator it = tokens.begin();
++it;
Expand Down Expand Up @@ -142,9 +141,6 @@ void MythSystemEventHandler::SubstituteMatches(const QStringList &tokens,
if (++it == tokens.end())
break;

if (token == "SENDER")
sender = *it;

// The following string is broken up on purpose to indicate
// what we're replacing is the token surrounded by percent signs
command.replace(QString("%" "%1" "%").arg(token), *it);
Expand Down

0 comments on commit e5be0ea

Please sign in to comment.