From 0bae2662f455c2866ce769fdc73b3068f8239bd0 Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Sat, 3 Oct 2020 16:01:59 +0200 Subject: Cleanup: Remove/replace C standard library assert() and header usages We have our own assert implementation, `BLI_assert()` that is prefered over the C standard library one. Its output is more consistent across compilers and makes termination on assert failure optional (through `WITH_ASSERT_ABORT`). In many places we'd include the C library header without ever accessing it. --- source/blender/editors/sculpt_paint/paint_hide.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/editors/sculpt_paint/paint_hide.c') diff --git a/source/blender/editors/sculpt_paint/paint_hide.c b/source/blender/editors/sculpt_paint/paint_hide.c index 339921fe601..e5d682c27d9 100644 --- a/source/blender/editors/sculpt_paint/paint_hide.c +++ b/source/blender/editors/sculpt_paint/paint_hide.c @@ -59,8 +59,6 @@ /* For undo push. */ #include "sculpt_intern.h" -#include - /* Return true if the element should be hidden/shown. */ static bool is_effected(PartialVisArea area, float planes[4][4], -- cgit v1.2.3