diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-26 20:39:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-26 20:39:21 +0400 |
commit | 03f5758b48457b5d76239d78f3f374195d1104ab (patch) | |
tree | e245eb650e3794bf08e55dac38a3fb14a1ef8d51 /source/blender/bmesh/bmesh.h | |
parent | 5970adaccfe4bd1faf24dd88fdba3e0801af792a (diff) |
replace BMESH_ERROR with BMESH_ASSERT, most areas it was used are better suited to an assert anyway.
also tag all error cases as UNLIKELY() for better branch prediction.
Diffstat (limited to 'source/blender/bmesh/bmesh.h')
-rw-r--r-- | source/blender/bmesh/bmesh.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/bmesh/bmesh.h b/source/blender/bmesh/bmesh.h index 6ea864fe9e3..61f4cc62ae4 100644 --- a/source/blender/bmesh/bmesh.h +++ b/source/blender/bmesh/bmesh.h @@ -110,9 +110,6 @@ struct EditMesh; /* #define BM_ELEM_SPARE (1<<6) */ /* #define BM_ELEM_NONORMCALC (1<<7) */ /* UNUSED */ -/* stub */ -void _bmesh_error(const char *at, const char *func); - /* Mesh Level Ops */ extern int bm_mesh_allocsize_default[4]; |