瀏覽代碼

warning

Former-commit-id: 099ca296435941a5861dd730dac1b39fef7fdc7d
Alec Jacobson 9 年之前
父節點
當前提交
fc0d07fa14
共有 1 個文件被更改,包括 4 次插入1 次删除
  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;
 }