[master] e3a92108e vai: Remove wrong assertion
Nils Goroll
nils.goroll at uplex.de
Tue Aug 5 09:03:04 UTC 2025
commit e3a92108e647c064647d91b3688e17ac6c3c5585
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Tue Aug 5 11:00:35 2025 +0200
vai: Remove wrong assertion
I had temporarily built with plain ./configure to get default compiler flags, so
I had not seen locally that for -sdeprecated_persistent, stobj->priv is not the
struct object *
diff --git a/bin/varnishd/storage/storage_simple.c b/bin/varnishd/storage/storage_simple.c
index 42ab4bf70..ab5b03ad0 100644
--- a/bin/varnishd/storage/storage_simple.c
+++ b/bin/varnishd/storage/storage_simple.c
@@ -457,7 +457,6 @@ sml_ai_lease_boc(struct worker *wrk, vai_hdl vhdl, struct vscarab *scarab)
CAST_VAI_HDL_NOTNULL(hdl, vhdl, SML_HDL_MAGIC);
VSCARAB_CHECK_NOTNULL(scarab);
assert(hdl->boc == hdl->oc->boc);
- assert(hdl->oc->stobj->priv == hdl->obj);
if (hdl->avail == hdl->returned) {
hdl->avail = ObjVAIGetExtend(wrk, hdl->oc, hdl->returned,
More information about the varnish-commit
mailing list