Workaround for strict flags and release build compilation
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 11 Sep 2014 13:33:37 +0000 (19:33 +0600)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 11 Sep 2014 13:33:37 +0000 (19:33 +0600)
@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.

source/blender/bmesh/operators/bmo_inset.c

index 1b72a31..d74e86d 100644 (file)
@@ -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));