Explorar el Código

warning

Former-commit-id: 099ca296435941a5861dd730dac1b39fef7fdc7d
Alec Jacobson hace 9 años
padre
commit
fc0d07fa14
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      include/igl/boolean/string_to_mesh_boolean_type.cpp

+ 4 - 1
include/igl/boolean/string_to_mesh_boolean_type.cpp

@@ -42,7 +42,10 @@ IGL_INLINE igl::boolean::MeshBooleanType igl::boolean::string_to_mesh_boolean_ty
   const std::string & s)
 {
   MeshBooleanType type;
-  const bool ret = string_to_mesh_boolean_type(s,type);
+#ifndef NDEBUG
+  const bool ret = 
+#endif
+    string_to_mesh_boolean_type(s,type);
   assert(ret && "Unknown MeshBooleanType name");
   return type;
 }