Browse Source

unused variable warning

Former-commit-id: 9c9453fc5e1fa22f76ff12a5283057adb4282ce4
Alec Jacobson 9 years ago
parent
commit
492362aaa1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/igl/cgal/remesh_intersections.cpp

+ 2 - 2
include/igl/cgal/remesh_intersections.cpp

@@ -73,13 +73,13 @@ IGL_INLINE void igl::cgal::remesh_intersections(
   vector<Plane_3> P(offending.size());
   // Use map for *all* faces
   map<typename CDT_plus_2::Vertex_handle,Index> v2i;
-  // Loop over offending triangles
-  const size_t noff = offending.size();
 #ifdef IGL_SELFINTERSECTMESH_DEBUG
   double t_proj_del = 0;
 #endif
   // Unfortunately it looks like CGAL has trouble allocating memory when
   // multiple openmp threads are running. Crashes durring CDT...
+  //// Loop over offending triangles
+  //const size_t noff = offending.size();
 //# pragma omp parallel for if (noff>1000)
   for(const auto & okv : offending)
   {