Skip to content

Commit

Permalink
Fix another misplaced else condition in osd.cpp. Exact same problem a…
Browse files Browse the repository at this point in the history
…s in [1207821] just in another place. Related to Coverity defect 700312 'Logically dead code'
  • Loading branch information
stuartm committed May 30, 2012
1 parent 1207821 commit 8c8bd19
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mythtv/libs/libmythtv/osd.cpp
Expand Up @@ -314,12 +314,12 @@ void OSD::LoadWindows(void)
QString("Loaded window %1").arg(window));
m_Children.insert(window, win);
}
}
else
{
LOG(VB_GENERAL, LOG_ERR, LOC + QString("Failed to load window %1")
.arg(window));
delete win;
else
{
LOG(VB_GENERAL, LOG_ERR, LOC + QString("Failed to load window %1")
.arg(window));
delete win;
}
}
}
}
Expand Down

0 comments on commit 8c8bd19

Please sign in to comment.