[master] ae742a4e1 turn long OBE special case into assertion
Nils Goroll
nils.goroll at uplex.de
Mon Dec 16 11:56:07 UTC 2019
commit ae742a4e16cc45585f13410389c5ce4ac4eec9ec
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Mon Dec 16 12:48:40 2019 +0100
turn long OBE special case into assertion
diff --git a/lib/libvcc/vcc_xref.c b/lib/libvcc/vcc_xref.c
index 415e9ce95..342fdb967 100644
--- a/lib/libvcc/vcc_xref.c
+++ b/lib/libvcc/vcc_xref.c
@@ -106,8 +106,7 @@ vcc_AddUses(struct vcc *tl, const struct token *t1, const struct token *t2,
{
struct procuse *pu;
- if (tl->curproc == NULL) /* backend */
- return;
+ AN(tl->curproc);
pu = TlAlloc(tl, sizeof *pu);
assert(pu != NULL);
pu->t1 = t1;
More information about the varnish-commit
mailing list