[cgma-dev] r5399 - cgm/trunk/itaps
    iulian at mcs.anl.gov 
    iulian at mcs.anl.gov
       
    Thu Feb 16 13:57:19 CST 2012
    
    
  
Author: iulian
Date: 2012-02-16 13:57:19 -0600 (Thu, 16 Feb 2012)
New Revision: 5399
Modified:
   cgm/trunk/itaps/iGeom_CGMA.cc
Log:
uninitialized return, found with valgrind
Modified: cgm/trunk/itaps/iGeom_CGMA.cc
===================================================================
--- cgm/trunk/itaps/iGeom_CGMA.cc	2012-02-16 19:28:07 UTC (rev 5398)
+++ cgm/trunk/itaps/iGeom_CGMA.cc	2012-02-16 19:57:19 UTC (rev 5399)
@@ -6569,6 +6569,7 @@
       this_surf = this_face->get_surface_ptr();
       if (NULL == this_surf) return CUBIT_FAILURE;
       this_surf->closest_point_trimmed( near, on );
+      status = CUBIT_SUCCESS;
       break;
     default:
         // just copy over the coordinates
    
    
More information about the cgma-dev
mailing list