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 2009/11/05 01:42:50 UTC
svn commit: r832934 - /httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c
Author: trawick
Date: Thu Nov 5 00:42:50 2009
New Revision: 832934
URL: http://svn.apache.org/viewvc?rev=832934&view=rev
Log:
axe set-but-unused variable noticed by LLVM scan-build
Modified:
httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c
Modified: httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c?rev=832934&r1=832933&r2=832934&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c Thu Nov 5 00:42:50 2009
@@ -243,7 +243,6 @@
{
int res = 0;
const char *password = NULL;
- const char *location = NULL;
apr_table_t *saved_subprocess_env = NULL;
fcgid_wrapper_conf *wrapper_conf;
auth_conf *authenticator_info;
@@ -298,7 +297,7 @@
r->subprocess_env = saved_subprocess_env;
if (res == OK && r->status == 200
- && (location = apr_table_get(r->headers_out, "Location")) == NULL)
+ && apr_table_get(r->headers_out, "Location") == NULL)
{
/* Pass */
ap_log_rerror(APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, 0, r,
@@ -338,7 +337,6 @@
static int mod_fcgid_authorizer(request_rec * r)
{
int res = 0;
- const char *location = NULL;
apr_table_t *saved_subprocess_env = NULL;
fcgid_wrapper_conf *wrapper_conf;
auth_conf *authorizer_info;
@@ -388,7 +386,7 @@
r->subprocess_env = saved_subprocess_env;
if (res == OK && r->status == 200
- && (location = apr_table_get(r->headers_out, "Location")) == NULL)
+ && apr_table_get(r->headers_out, "Location") == NULL)
{
/* Pass */
ap_log_rerror(APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, 0, r,
@@ -428,7 +426,6 @@
static int mod_fcgid_check_access(request_rec * r)
{
int res = 0;
- const char *location = NULL;
apr_table_t *saved_subprocess_env = NULL;
fcgid_wrapper_conf *wrapper_conf;
auth_conf *access_info;
@@ -479,7 +476,7 @@
r->subprocess_env = saved_subprocess_env;
if (res == OK && r->status == 200
- && (location = apr_table_get(r->headers_out, "Location")) == NULL)
+ && apr_table_get(r->headers_out, "Location") == NULL)
{
/* Pass */
ap_log_rerror(APLOG_MARK, APLOG_DEBUG | APLOG_NOERRNO, 0, r,