Skip to content

Commit

Permalink
Fix unnecessary null check pointed out by Stuart M.
Browse files Browse the repository at this point in the history
Thanks.
  • Loading branch information
Robert McNamara committed Jul 28, 2011
1 parent e6f2b30 commit 42fbadb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/programs/mythmetadatalookup/lookup.cpp
Expand Up @@ -203,7 +203,7 @@ void LookerUpper::CopyRuleInetrefsToRecordings()
{
RecordingRule *rule = new RecordingRule();
rule->LoadByProgram(pginfo);
if (rule && rule->Load() && !rule->m_inetref.isEmpty())
if (!rule->m_inetref.isEmpty())
{
QString msg = QString("%1").arg(pginfo->GetTitle());
if (!pginfo->GetSubtitle().isEmpty())
Expand Down

0 comments on commit 42fbadb

Please sign in to comment.