[Bf-blender-cvs] [c62e3a05b08] master: Cleanup: -Wnonnull-compare GCC warning

Campbell Barton noreply at git.blender.org
Fri Nov 24 04:17:58 CET 2017


Commit: c62e3a05b08b18e2767590a51bd9decc274106a3
Author: Campbell Barton
Date:   Fri Nov 24 14:28:35 2017 +1100
Branches: master
https://developer.blender.org/rBc62e3a05b08b18e2767590a51bd9decc274106a3

Cleanup: -Wnonnull-compare GCC warning

===================================================================

M	source/blender/bmesh/intern/bmesh_iterators_inline.h

===================================================================

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:



More information about the Bf-blender-cvs mailing list