Commit 1e190348 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

vrt: Missing assertion

Spotted by flexelint.
parent f850b608
......@@ -76,7 +76,7 @@ VRT_re_match(VRT_CTX, const char *s, VCL_REGEX re)
if (i >= 0)
return (1);
if (i < VRE_ERROR_NOMATCH ) {
VSB_init(vsb, errbuf, sizeof errbuf);
AN(VSB_init(vsb, errbuf, sizeof errbuf));
AZ(VRE_error(vsb, i));
AZ(VSB_finish(vsb));
VSB_fini(vsb);
......
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