Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 64941 invoked from network); 5 Nov 2009 00:43:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Nov 2009 00:43:14 -0000 Received: (qmail 34076 invoked by uid 500); 5 Nov 2009 00:43:14 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 33994 invoked by uid 500); 5 Nov 2009 00:43:14 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 33985 invoked by uid 99); 5 Nov 2009 00:43:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2009 00:43:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Nov 2009 00:43:11 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id BB99E23888A6; Thu, 5 Nov 2009 00:42:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r832934 - /httpd/mod_fcgid/trunk/modules/fcgid/mod_fcgid.c Date: Thu, 05 Nov 2009 00:42:50 -0000 To: cvs@httpd.apache.org From: trawick@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091105004250.BB99E23888A6@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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,