소스 검색

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;
 }