[Bf-blender-cvs] [3bbeb8543ba] refactor-idprop-ui-data: Cleanup: Use BLI_assert_unreachable
Hans Goudey
noreply at git.blender.org
Mon Aug 2 06:17:18 CEST 2021
Commit: 3bbeb8543ba2622996cc5c489c3ed7dce1fcad47
Author: Hans Goudey
Date: Sun Aug 1 23:22:07 2021 -0400
Branches: refactor-idprop-ui-data
https://developer.blender.org/rB3bbeb8543ba2622996cc5c489c3ed7dce1fcad47
Cleanup: Use BLI_assert_unreachable
===================================================================
M source/blender/blenkernel/intern/idprop.c
===================================================================
diff --git a/source/blender/blenkernel/intern/idprop.c b/source/blender/blenkernel/intern/idprop.c
index 11dc6cece8a..c85fb8badc2 100644
--- a/source/blender/blenkernel/intern/idprop.c
+++ b/source/blender/blenkernel/intern/idprop.c
@@ -1627,7 +1627,7 @@ IDPropertyUIData *IDP_ui_data_ensure(IDProperty *prop)
}
case IDP_UI_DATA_TYPE_UNSUPPORTED: {
/* UI data not supported for remaining types, this shouldn't be called in those cases. */
- BLI_assert(false);
+ BLI_assert_unreachable();
break;
}
}
More information about the Bf-blender-cvs
mailing list