[commit] r1387 - trunk/GME/Gme

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Jun 27 16:25:32 CDT 2011


Author: ksmyth
Date: Mon Jun 27 16:25:32 2011
New Revision: 1387

Log:
Remove unnecessary pragma warning

Modified:
   trunk/GME/Gme/GMEApp.cpp

Modified: trunk/GME/Gme/GMEApp.cpp
==============================================================================
--- trunk/GME/Gme/GMEApp.cpp	Mon Jun 27 16:23:23 2011	(r1386)
+++ trunk/GME/Gme/GMEApp.cpp	Mon Jun 27 16:25:32 2011	(r1387)
@@ -805,9 +805,7 @@
 		COMTHROW(MGACOLL_ITER->get_ComponentName(&name));
 		if(name == _T("ConstraintManager")) {
 			mgaConstMgr = CComQIPtr<IMgaComponentEx>(MGACOLL_ITER); 
-#pragma warning(disable: 4310) // cast truncates constant value
 			COMTHROW(mgaConstMgr->put_InteractiveMode(VARIANT_TRUE));
-#pragma warning(default: 4310) // cast truncates constant value
 			break;
 		}
 	} MGACOLL_ITERATE_END;
@@ -2881,8 +2879,9 @@
 
 		CMainFrame::theInstance->m_console.Message( _T("Done."), 1);
 	}
-	catch( hresult_exception &)
+	catch( hresult_exception &e)
 	{
+		// FIXME: GetErrorINfo
 		CMainFrame::theInstance->m_console.Message( _T("Error while registering paradigm!"), 3);
 	}
 }


More information about the gme-commit mailing list