diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-06-19 12:31:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-06-19 13:09:26 +0300 |
commit | 349946bd010b1112b13c8594aabfb318c330bc0d (patch) | |
tree | 1cb0bb5a1f8a7328c38f14a9d277ee4fed37246a /source/blender/editors/mesh/editmesh_bisect.c | |
parent | 33e5163550c5b4326f27662cdd298961ef3fb1cd (diff) |
Cleanup: quiet warnings
Diffstat (limited to 'source/blender/editors/mesh/editmesh_bisect.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_bisect.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/editors/mesh/editmesh_bisect.c b/source/blender/editors/mesh/editmesh_bisect.c index 31b4c7ef87e..7c55f0033a3 100644 --- a/source/blender/editors/mesh/editmesh_bisect.c +++ b/source/blender/editors/mesh/editmesh_bisect.c @@ -462,6 +462,7 @@ static void manipulator_bisect_prop_depth_get( wmOperator *op = man->data.op; BLI_assert(value_len == 1); + UNUSED_VARS_NDEBUG(value_len); float plane_co[3], plane_no[3]; RNA_property_float_get_array(op->ptr, man->data.prop_plane_co, plane_co); @@ -478,6 +479,7 @@ static void manipulator_bisect_prop_depth_set( wmOperator *op = man->data.op; BLI_assert(value_len == 1); + UNUSED_VARS_NDEBUG(value_len); float plane_co[3], plane[4]; RNA_property_float_get_array(op->ptr, man->data.prop_plane_co, plane_co); @@ -526,7 +528,9 @@ static void manipulator_bisect_prop_angle_get( { ManipulatorGroup *man = mpr->parent_mgroup->customdata; wmOperator *op = man->data.op; + BLI_assert(value_len == 1); + UNUSED_VARS_NDEBUG(value_len); float plane_no[4]; RNA_property_float_get_array(op->ptr, man->data.prop_plane_no, plane_no); @@ -550,7 +554,9 @@ static void manipulator_bisect_prop_angle_set( { ManipulatorGroup *man = mpr->parent_mgroup->customdata; wmOperator *op = man->data.op; + BLI_assert(value_len == 1); + UNUSED_VARS_NDEBUG(value_len); float plane_no[4]; RNA_property_float_get_array(op->ptr, man->data.prop_plane_no, plane_no); |