From 03f5758b48457b5d76239d78f3f374195d1104ab Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 26 Feb 2012 16:39:21 +0000 Subject: 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. --- source/blender/bmesh/bmesh.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'source/blender/bmesh/bmesh.h') 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]; -- cgit v1.2.3