[Bf-blender-cvs] [b762cc2] master: Workaround for strict flags and release build compilation

Sergey Sharybin noreply at git.blender.org
Thu Sep 11 15:35:33 CEST 2014


Commit: b762cc28ea86becac96ea4477cfb806374007abb
Author: Sergey Sharybin
Date:   Thu Sep 11 19:33:37 2014 +0600
Branches: master
https://developer.blender.org/rBb762cc28ea86becac96ea4477cfb806374007abb

Workaround for strict flags and release build compilation

@campbellbarton, it's really helpful to have strict flags enabled
for release builds as well -- especially when you're working in areas
which are heavily using least squares solvers.

For now made it so blender compiles, but it could be better solution here.

===================================================================

M	source/blender/bmesh/operators/bmo_inset.c

===================================================================

diff --git a/source/blender/bmesh/operators/bmo_inset.c b/source/blender/bmesh/operators/bmo_inset.c
index 1b72a31..d74e86d 100644
--- a/source/blender/bmesh/operators/bmo_inset.c
+++ b/source/blender/bmesh/operators/bmo_inset.c
@@ -156,6 +156,7 @@ static void bm_loop_customdata_merge(
 	BLI_assert(l_a_outer->f == l_a_inner->f);
 	BLI_assert(l_b_outer->f == l_b_inner->f);
 
+	(void) e_connect;
 	BLI_assert(BM_edge_in_face(e_connect, l_a_inner->f));
 	BLI_assert(BM_edge_in_face(e_connect, l_b_inner->f));




More information about the Bf-blender-cvs mailing list