Commit 6f0ccbf1 authored by Geoff Simmons's avatar Geoff Simmons

get rid of some unused macros

parent c91432f1
......@@ -42,9 +42,6 @@
#include "vcc_if.h"
#include "vre2/vre2.h"
#define ERR(ctx, msg) \
errmsg((ctx), "vmod re2 error: " msg)
#define VERR(ctx, fmt, ...) \
errmsg((ctx), "vmod re2 error: " fmt, __VA_ARGS__)
......@@ -294,8 +291,6 @@ vmod_regex__fini(struct vmod_re2_regex **rep)
FREE_OBJ(re);
}
#define ERR_PREFIX "%s.match(\"%s\"): "
VCL_BOOL
vmod_regex_match(const struct vrt_ctx *ctx, struct vmod_re2_regex *re,
VCL_STRING subject)
......@@ -314,8 +309,6 @@ vmod_regex_match(const struct vrt_ctx *ctx, struct vmod_re2_regex *re,
return ret;
}
#undef ERR_PREFIX
#define ERR_PREFIX "%s.backref(ref=%ld, fallback=\"%s\"): "
VCL_STRING
......
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