Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: CVS

svn commit: r832925 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c

 

 

Apache cvs RSS feed   Index | Next | Previous | View Threaded


trawick at apache

Nov 4, 2009, 4:26 PM

Post #1 of 1 (45 views)
Permalink
svn commit: r832925 - /httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c

Author: trawick
Date: Thu Nov 5 00:26:19 2009
New Revision: 832925

URL: http://svn.apache.org/viewvc?rev=832925&view=rev
Log:
axe set-but-unnecessary variable noticed by LLVM scan-build

Modified:
httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c

Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c?rev=832925&r1=832924&r2=832925&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_spawn_ctl.c Thu Nov 5 00:26:19 2009
@@ -215,14 +215,13 @@

int is_kill_allowed(server_rec * main_server, fcgid_procnode * procnode)
{
- struct fcgid_stat_node *previous_node, *current_node;
+ struct fcgid_stat_node *current_node;

if (!g_stat_pool || !procnode)
return 0;

/* Can I find the node base on inode, device id and share group id? */
- previous_node = g_stat_list_header;
- for (current_node = previous_node;
+ for (current_node = g_stat_list_header;
current_node != NULL; current_node = current_node->next) {
if (current_node->inode == procnode->inode
&& current_node->deviceid == procnode->deviceid
@@ -231,7 +230,6 @@
&& current_node->uid == procnode->uid
&& current_node->gid == procnode->gid)
break;
- previous_node = current_node;
}

if (current_node) {

Apache cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.