Commit 1d119a29 by Geoff Simmons

Remove some code that is unnecessary since we don't use pthread keys.

parent 26f3394e
......@@ -70,9 +70,6 @@ typedef struct ov_s {
int ovector[MAX_OV_USED];
} ov_t;
static char c;
static const void *match_failed = (void *) &c;
VCL_VOID
vmod_regex__init(VRT_CTX, struct vmod_re_regex **rep, const char *vcl_name,
VCL_STRING pattern)
......@@ -80,9 +77,6 @@ vmod_regex__init(VRT_CTX, struct vmod_re_regex **rep, const char *vcl_name,
struct vmod_re_regex *re;
CHECK_OBJ_NOTNULL(ctx, VRT_CTX_MAGIC);
#if 0
AN(ctx->vsl); /* XXX: ctx->vsl is NULL?! */
#endif
AN(rep);
AZ(*rep);
AN(vcl_name);
......
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