From: Luca Boccassi Date: Thu, 9 Jul 2026 13:44:22 +0000 (+0100) Subject: pull-oci: switch assert() to assert_se() for set_remove() call X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=39fa094b0d958b2d6c0dcd55377eb2b22370df48;p=thirdparty%2Fsystemd.git pull-oci: switch assert() to assert_se() for set_remove() call This has obvious side effects so switch it over Follow-up for a9f6ba04969d6eb2e629e30299fab7538ef42a57 --- diff --git a/src/import/pull-oci.c b/src/import/pull-oci.c index c2d9bfeddf4..5df55e42783 100644 --- a/src/import/pull-oci.c +++ b/src/import/pull-oci.c @@ -1293,7 +1293,7 @@ static void oci_pull_job_on_finished_layer(PullJob *j) { goto finish; } - assert(set_remove(i->active_layer_jobs, j) == j); + assert_se(set_remove(i->active_layer_jobs, j) == j); r = oci_pull_work(i); if (r <= 0)