[commit] r1648 - trunk/GME/Gme
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Wed Oct 26 10:18:48 CDT 2011
Author: ksmyth
Date: Wed Oct 26 10:18:47 2011
New Revision: 1648
Log:
Fail fast
Modified:
trunk/GME/Gme/GMEApp.cpp
Modified: trunk/GME/Gme/GMEApp.cpp
==============================================================================
--- trunk/GME/Gme/GMEApp.cpp Tue Oct 25 17:32:53 2011 (r1647)
+++ trunk/GME/Gme/GMEApp.cpp Wed Oct 26 10:18:47 2011 (r1648)
@@ -389,12 +389,9 @@
}
MSGCATCH(_T("Error while trying to get logfile settings"),;);
- if( (CMainFrame*)m_pMainWnd)
- {
- CGMEOLEApp *t_pGmeOleApp = new CGMEOLEApp();
- ((CMainFrame*)m_pMainWnd)->setGmeOleApp( t_pGmeOleApp );
- }
- else ASSERT(0);
+ ASSERT((CMainFrame*)m_pMainWnd);
+ CGMEOLEApp *t_pGmeOleApp = new CGMEOLEApp();
+ ((CMainFrame*)m_pMainWnd)->setGmeOleApp( t_pGmeOleApp );
// Check to see if launched as OLE server
if (cmdInfo.m_bRunEmbedded || cmdInfo.m_bRunAutomated)
More information about the gme-commit
mailing list