diff --git a/modules/aaa/mod_authz_dbm.c b/modules/aaa/mod_authz_dbm.c index 561c1558aa8..53c91525754 100644 --- a/modules/aaa/mod_authz_dbm.c +++ b/modules/aaa/mod_authz_dbm.c @@ -209,7 +209,6 @@ static authz_status dbmfilegroup_check_authorization(request_rec *r, char *user = r->user; const char *realm = ap_auth_name(r); const char *filegroup = NULL; - const char *orig_groups = NULL; apr_status_t status; const char *groups; char *v; @@ -244,12 +243,9 @@ static authz_status dbmfilegroup_check_authorization(request_rec *r, return AUTHZ_DENIED; } - orig_groups = groups; - filegroup = authz_owner_get_file_group(r); if (filegroup) { - groups = orig_groups; while (groups[0]) { v = ap_getword(r->pool, &groups, ','); if (!strcmp(v, filegroup)) { diff --git a/modules/apreq/handle.c b/modules/apreq/handle.c index d2bdca7ac0d..d6c73bf5232 100644 --- a/modules/apreq/handle.c +++ b/modules/apreq/handle.c @@ -208,7 +208,6 @@ static apreq_param_t *apache2_body_get(apreq_handle_t *handle, const char *name) h->next = ctx->parser->hook; h->ctx = hook_ctx; ctx->parser->hook = h; - h->ctx = hook_ctx; hook_ctx->name = name; hook_ctx->param = NULL; hook_ctx->prev = ctx->parser->hook;