From 7c8b9c7a9aceed5186657fb0ac11cb844f16fec6 Mon Sep 17 00:00:00 2001 From: Germano Cavalcante Date: Tue, 15 Jun 2021 09:57:57 -0300 Subject: Fix warning treated as an error "void' function returning a value". --- source/blender/bmesh/intern/bmesh_mesh_tessellate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/blender/bmesh/intern/bmesh_mesh_tessellate.c b/source/blender/bmesh/intern/bmesh_mesh_tessellate.c index 2f9d5758385..508a86d5807 100644 --- a/source/blender/bmesh/intern/bmesh_mesh_tessellate.c +++ b/source/blender/bmesh/intern/bmesh_mesh_tessellate.c @@ -155,14 +155,14 @@ static void mesh_calc_tessellation_for_face(BMLoop *(*looptris)[3], BMFace *efa, MemArena **pf_arena_p) { - return mesh_calc_tessellation_for_face_impl(looptris, efa, pf_arena_p, false); + mesh_calc_tessellation_for_face_impl(looptris, efa, pf_arena_p, false); } static void mesh_calc_tessellation_for_face_with_normal(BMLoop *(*looptris)[3], BMFace *efa, MemArena **pf_arena_p) { - return mesh_calc_tessellation_for_face_impl(looptris, efa, pf_arena_p, true); + mesh_calc_tessellation_for_face_impl(looptris, efa, pf_arena_p, true); } /** -- cgit v1.2.3