tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hgo...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/common jk_worker_lb.c
Date Wed, 17 Mar 2004 17:13:32 GMT
hgomez      2004/03/17 09:13:32

  Modified:    jk/native2/common jk_worker_lb.c
  Log:
  Remove unused vars
  
  Revision  Changes    Path
  1.39      +0 -4      jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c
  
  Index: jk_worker_lb.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/common/jk_worker_lb.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- jk_worker_lb.c	8 Mar 2004 23:01:06 -0000	1.38
  +++ jk_worker_lb.c	17 Mar 2004 17:13:32 -0000	1.39
  @@ -440,7 +440,6 @@
   */
   static int JK_METHOD jk2_lb_refresh(jk_env_t *env, jk_worker_t *lb)
   {
  -    int currentWorker=0;
       int i;
       int num_of_workers=lb->lbWorkerMap->size( env, lb->lbWorkerMap);
   
  @@ -503,7 +502,6 @@
                                               char *name)
   {
       jk_worker_t *lb=mbean->object;
  -    unsigned i = 0;
       jk_worker_lb_private_t *lb_priv = lb->worker_private;
       
       if( strcmp( name, "workers") == 0 ) {
  @@ -533,7 +531,6 @@
   {
       jk_worker_t *lb=mbean->object;
       char *value=valueP;
  -    unsigned i = 0;
       jk_worker_lb_private_t *lb_priv = lb->worker_private;
       
       if( strcmp( name, "worker") == 0 ) {
  @@ -593,7 +590,6 @@
   
   static int JK_METHOD jk2_lb_destroy(jk_env_t *env, jk_bean_t *bean)
   {
  -    jk_worker_t *w=bean->object;
       /* Workers are destroyed by the workerEnv. It is possible
          that a worker is part of more than a lb.
          Nothing to clean up so far.
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message