Skip to content

Commit

Permalink
Fix Coverity 700330. Logically dead code. It's redundant to delete a …
Browse files Browse the repository at this point in the history
…pointer if we've already determined it's null.
  • Loading branch information
stuartm committed Jun 9, 2013
1 parent 7ffae0d commit c127190
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mythtv/programs/mythfrontend/themechooser.cpp
Expand Up @@ -385,8 +385,6 @@ void ThemeChooser::Init(void)
if (curTheme == themeinfo->GetDirectoryName())
curThemeInfo = themeinfo;
}
else
delete item;
}

SetFocusWidget(m_themes);
Expand Down

0 comments on commit c127190

Please sign in to comment.