From a1b58bacd82815d444c3bbfd2a7f207719c08fb6 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Tue, 8 Apr 2025 03:37:32 +0000 Subject: [PATCH] refactor(kernel): remove unused assert_allow_continue macro --- Kernel/include_std/assert.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Kernel/include_std/assert.h b/Kernel/include_std/assert.h index c3856308..4c1ef8d4 100644 --- a/Kernel/include_std/assert.h +++ b/Kernel/include_std/assert.h @@ -34,15 +34,6 @@ EXTERNC void __attribute__((noreturn)) HandleAssertionFailed(const char *File, i } \ } while (0) -#define assert_allow_continue(x) \ - do \ - { \ - if (__builtin_expect(!!(!(x)), 0)) \ - { \ - error("Assertion failed! [%s]", #x); \ - } \ - } while (0) - #if __STDC_VERSION__ >= 201112L && !defined(__cplusplus) #define static_assert _Static_assert #endif