diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-03-05 01:16:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-03-05 01:16:12 +0300 |
commit | 4e500101a7dd3ea578ca6d6f101c0d9ece7f5abc (patch) | |
tree | b84e5af642e8f702c2bc34a26155a49284fbda9b /source/blender/bmesh/operators/bmo_bridge.c | |
parent | fea07c1a63fdfe3bf25d77d862e83bdf024347b8 (diff) |
Cleanup: quiet -Wcomma, cast to void where needed
Diffstat (limited to 'source/blender/bmesh/operators/bmo_bridge.c')
-rw-r--r-- | source/blender/bmesh/operators/bmo_bridge.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/bmesh/operators/bmo_bridge.c b/source/blender/bmesh/operators/bmo_bridge.c index bdd4e253a63..c7bf481d7d5 100644 --- a/source/blender/bmesh/operators/bmo_bridge.c +++ b/source/blender/bmesh/operators/bmo_bridge.c @@ -54,7 +54,8 @@ static void bm_bridge_splice_loops(BMesh *bm, LinkData *el_a, LinkData *el_b, co interp_v3_v3v3(v_b->co, v_a->co, v_b->co, merge_factor); BLI_assert(v_a != v_b); BMO_slot_map_elem_insert(&op_weld, slot_targetmap, v_a, v_b); - } while ((el_b = el_b->next), + } while ((void) + (el_b = el_b->next), (el_a = el_a->next)); BMO_op_exec(bm, &op_weld); @@ -95,7 +96,8 @@ static float bm_edgeloop_offset_length( BLI_assert(el_a->prev == NULL); /* must be first */ do { len += len_v3v3(((BMVert *)el_a->data)->co, ((BMVert *)el_b->data)->co); - } while ((el_b = el_b->next ? el_b->next : el_b_first), + } while ((void) + (el_b = el_b->next ? el_b->next : el_b_first), (el_a = el_a->next) && (len < len_max)); return len; } |