Assert that VRBT_INSERT did not find the element to insert

just to clarify for the next commit.
parent 06cf60a0
......@@ -152,7 +152,7 @@ vrt_priv_dynamic(struct ws *ws, struct vrt_privs *privs, uintptr_t vmod_id)
return (NULL);
INIT_OBJ(vp, VRT_PRIV_MAGIC);
vp->vmod_id = vmod_id;
VRBT_INSERT(vrt_privs, privs, vp);
AZ(VRBT_INSERT(vrt_privs, privs, vp));
return (vp->priv);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment