From 5e24ebace23ecd7d394e76180a28a76cf2ebe20c Mon Sep 17 00:00:00 2001 From: Mike Yuan Date: Tue, 22 Apr 2025 21:01:41 +0200 Subject: [PATCH] core/slice: remove redundant assertion --- src/core/slice.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/slice.c b/src/core/slice.c index 0bb73727bc9..a4a82118ddf 100644 --- a/src/core/slice.c +++ b/src/core/slice.c @@ -24,7 +24,6 @@ static const UnitActiveState state_translation_table[_SLICE_STATE_MAX] = { static void slice_init(Unit *u) { Slice *s = ASSERT_PTR(SLICE(u)); - assert(u); assert(u->load_state == UNIT_STUB); u->ignore_on_isolate = true; -- 2.47.3