diff options
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_core.c | 10 | ||||
-rw-r--r-- | source/blender/bmesh/operators/bmo_connect.c | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/bmesh/intern/bmesh_core.c b/source/blender/bmesh/intern/bmesh_core.c index 5e5726d9244..a14d602c586 100644 --- a/source/blender/bmesh/intern/bmesh_core.c +++ b/source/blender/bmesh/intern/bmesh_core.c @@ -42,11 +42,11 @@ // #define USE_DEBUG_INDEX_MEMCHECK #ifdef USE_DEBUG_INDEX_MEMCHECK -#define DEBUG_MEMCHECK_INDEX_INVALIDATE(ele) \ - { \ - int undef_idx; \ - BM_elem_index_set(ele, undef_idx); /* set_ok_invalid */ \ - } \ +#define DEBUG_MEMCHECK_INDEX_INVALIDATE(ele) \ + { \ + int undef_idx; \ + BM_elem_index_set(ele, undef_idx); /* set_ok_invalid */ \ + } (void)0 #endif diff --git a/source/blender/bmesh/operators/bmo_connect.c b/source/blender/bmesh/operators/bmo_connect.c index 2d4c15dbaa5..653bbaf8602 100644 --- a/source/blender/bmesh/operators/bmo_connect.c +++ b/source/blender/bmesh/operators/bmo_connect.c @@ -178,7 +178,7 @@ static int clamp_index(const int x, const int len) BLI_array_append(arr2, arr_tmp[i]); \ } \ BLI_array_free(arr_tmp); \ - } + } (void)0 /* get the 2 loops matching 2 verts. * first attempt to get the face corners that use the edge defined by v1 & v2, |