[cgma-dev] r4484 - cgm/branches/merge-cubit12/itaps

iulian at mcs.anl.gov iulian at mcs.anl.gov
Fri Feb 4 11:06:09 CST 2011


Author: iulian
Date: 2011-02-04 11:06:09 -0600 (Fri, 04 Feb 2011)
New Revision: 4484

Modified:
   cgm/branches/merge-cubit12/itaps/iGeom_CGMA.cc
Log:
initializations of error code returns


Modified: cgm/branches/merge-cubit12/itaps/iGeom_CGMA.cc
===================================================================
--- cgm/branches/merge-cubit12/itaps/iGeom_CGMA.cc	2011-02-04 14:12:35 UTC (rev 4483)
+++ cgm/branches/merge-cubit12/itaps/iGeom_CGMA.cc	2011-02-04 17:06:09 UTC (rev 4484)
@@ -6639,7 +6639,11 @@
   CubitSense sense = se_list.get_and_step()->get_sense();
   for (int i = se_list.size() - 1; i > 0; --i)
     if (se_list.get_and_step()->get_sense() != sense)
+    {
+      *err = iBase_SUCCESS;
       return 0;
+    }
+  *err = iBase_SUCCESS;
   return sense == CUBIT_FORWARD ? 1 : -1;
 }
 





































More information about the cgma-dev mailing list