Группа :: Система/Библиотеки
Пакет: smesh
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: smesh-alt-return-type.patch
Скачать
Скачать
diff --git a/src/StdMeshers/StdMeshers_Projection_2D.cxx b/src/StdMeshers/StdMeshers_Projection_2D.cxx
index c8a9b46..cd005e2 100644
--- a/src/StdMeshers/StdMeshers_Projection_2D.cxx
+++ b/src/StdMeshers/StdMeshers_Projection_2D.cxx
@@ -1230,6 +1230,7 @@ namespace {
}
// Raise error is the triangle is not found for some reason
Standard_RangeError::Raise("Unable to find the triangle index.");
+ return 0;
}
//================================================================================