From c62e3a05b08b18e2767590a51bd9decc274106a3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 24 Nov 2017 14:28:35 +1100 Subject: Cleanup: -Wnonnull-compare GCC warning --- source/blender/bmesh/intern/bmesh_iterators_inline.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/blender/bmesh/intern/bmesh_iterators_inline.h b/source/blender/bmesh/intern/bmesh_iterators_inline.h index 32f0f4b67c4..88985d639cf 100644 --- a/source/blender/bmesh/intern/bmesh_iterators_inline.h +++ b/source/blender/bmesh/intern/bmesh_iterators_inline.h @@ -196,8 +196,6 @@ ATTR_NONNULL(1) BLI_INLINE void BM_iter_parallel( BMesh *bm, const char itype, TaskParallelMempoolFunc func, void *userdata, const bool use_threading) { - BLI_assert(bm != NULL); - /* inlining optimizes out this switch when called with the defined type */ switch ((BMIterType)itype) { case BM_VERTS_OF_MESH: -- cgit v1.2.3