Flexelinting

parent 6175eac4
......@@ -5,3 +5,5 @@
// must always be included to ensure sanity
-efile(766, config.h)
-efile(537, config.h)
-efile(451, config.h)
......@@ -199,6 +199,7 @@ match(VRT_CTX, const vre_t *vre, VCL_STRING subject,
pcre2_code *re;
PCRE2_SIZE *ovector;
//lint --e{801} goto
AN(vre);
if (subject == NULL)
subject = "";
......@@ -228,8 +229,8 @@ match(VRT_CTX, const vre_t *vre, VCL_STRING subject,
VRT_fail(ctx, "vmod_re: failed to create context");
goto out;
}
pcre2_set_depth_limit(re_ctx, vre_limits->depth);
pcre2_set_match_limit(re_ctx, vre_limits->match);
AZ(pcre2_set_depth_limit(re_ctx, vre_limits->depth));
AZ(pcre2_set_match_limit(re_ctx, vre_limits->match));
// END unneeded overhead
s = pcre2_match(re, (PCRE2_SPTR)subject, length, startoffset, options,
......
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