Skip to content

Commit

Permalink
axe some useless assignments (clang scan-build)
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1534997 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
trawick committed Oct 23, 2013
1 parent fe9f97b commit 5514564
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions modules/aaa/mod_authz_dbm.c
Expand Up @@ -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;
Expand Down Expand Up @@ -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)) {
Expand Down
1 change: 0 additions & 1 deletion modules/apreq/handle.c
Expand Up @@ -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;
Expand Down

0 comments on commit 5514564

Please sign in to comment.