Permalink
Browse files

Fix another misplaced else condition in osd.cpp. Exact same problem a…

…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 8c8bd1994bec7ba0161320609cb985137f9992a1
Showing with 6 additions and 6 deletions.
  1. +6 −6 mythtv/libs/libmythtv/osd.cpp
@@ -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;
+ }
}
}
}

0 comments on commit 8c8bd19

Please sign in to comment.