You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2013/10/23 14:03:05 UTC
svn commit: r1534997 - in /httpd/httpd/trunk/modules: aaa/mod_authz_dbm.c
apreq/handle.c
Author: trawick
Date: Wed Oct 23 12:03:04 2013
New Revision: 1534997
URL: http://svn.apache.org/r1534997
Log:
axe some useless assignments (clang scan-build)
Modified:
httpd/httpd/trunk/modules/aaa/mod_authz_dbm.c
httpd/httpd/trunk/modules/apreq/handle.c
Modified: httpd/httpd/trunk/modules/aaa/mod_authz_dbm.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_authz_dbm.c?rev=1534997&r1=1534996&r2=1534997&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authz_dbm.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authz_dbm.c Wed Oct 23 12:03:04 2013
@@ -209,7 +209,6 @@ static authz_status dbmfilegroup_check_a
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_a
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)) {
Modified: httpd/httpd/trunk/modules/apreq/handle.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/apreq/handle.c?rev=1534997&r1=1534996&r2=1534997&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/apreq/handle.c (original)
+++ httpd/httpd/trunk/modules/apreq/handle.c Wed Oct 23 12:03:04 2013
@@ -208,7 +208,6 @@ static apreq_param_t *apache2_body_get(a
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;