[cgma-dev] r5578 - cgm/trunk/geom/OCC

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Thu Jun 14 13:10:19 CDT 2012


Author: janehu
Date: 2012-06-14 13:10:19 -0500 (Thu, 14 Jun 2012)
New Revision: 5578

Modified:
   cgm/trunk/geom/OCC/OCCBody.cpp
Log:
Recheck in the changes just made to avoid unnacessary warnings.

Modified: cgm/trunk/geom/OCC/OCCBody.cpp
===================================================================
--- cgm/trunk/geom/OCC/OCCBody.cpp	2012-06-14 18:04:19 UTC (rev 5577)
+++ cgm/trunk/geom/OCC/OCCBody.cpp	2012-06-14 18:10:19 UTC (rev 5578)
@@ -85,7 +85,7 @@
     assert(myTopoDSShape->ShapeType() == TopAbs_COMPOUND);
     return myTopoDSShape;
   }
-  return 0;
+  return (TopoDS_Compound*)NULL;
 }
 
 void OCCBody::get_TopoDS_Shape(TopoDS_Shape *& shape)








































More information about the cgma-dev mailing list