diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-02-23 15:55:11 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-02-23 15:57:02 +0300 |
commit | ced19783fdd31f127593f523772026a40f8655b4 (patch) | |
tree | b36dad3654dbcdec0ed1059cf6a1934a9201329d /source/blender/bmesh/tools | |
parent | fed61d50c77130bc59849b067d9f7a502908003f (diff) |
Fix mismatch (missing 'const' to mactch funcs declarations).
Was breaking windows compile, reported by bdancer over IRC, thanks.
Also, quite some annoying 'unused vars' warnings (debug-only vars).
Diffstat (limited to 'source/blender/bmesh/tools')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_decimate_collapse.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/bmesh/tools/bmesh_decimate_collapse.c b/source/blender/bmesh/tools/bmesh_decimate_collapse.c index 230cb302d28..811a144fc39 100644 --- a/source/blender/bmesh/tools/bmesh_decimate_collapse.c +++ b/source/blender/bmesh/tools/bmesh_decimate_collapse.c @@ -723,6 +723,7 @@ static bool bm_edge_collapse(BMesh *bm, BMEdge *e_clear, BMVert *v_clear, int r_ BLI_assert(ok == true); BLI_assert(l_a->f->len == 3); BLI_assert(l_b->f->len == 3); + UNUSED_VARS_NDEBUG(ok); /* keep 'v_clear' 0th */ if (BM_vert_in_edge(l_a->prev->e, v_clear)) { |