Skip to content

Commit

Permalink
tidy: Fix duplicate variable assignment in StatusBox::keyPressEvent.
Browse files Browse the repository at this point in the history
The clang-tidy "dead stores" checker pointed out a duplicate variable
assignment in this function.  Remove the duplicate assignment.
  • Loading branch information
linuxdude42 committed Mar 28, 2019
1 parent 4e67493 commit ed44a0e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mythtv/programs/mythfrontend/statusbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,6 @@ bool StatusBox::keyPressEvent(QKeyEvent *event)
if (currentButton)
currentItem = currentButton->GetText();

handled = true;

if (action == "MENU")
{
if (currentItem == tr("Log Entries"))
Expand Down

0 comments on commit ed44a0e

Please sign in to comment.