tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rj...@apache.org
Subject svn commit: r479327 - /tomcat/connectors/trunk/jk/native/common/jk_status.c
Date Sun, 26 Nov 2006 10:05:39 GMT
Author: rjung
Date: Sun Nov 26 02:05:38 2006
New Revision: 479327

URL: http://svn.apache.org/viewvc?view=rev&rev=479327
Log:
Fix a couple of compile time warnings
(unused vars and int/unsigned int conversion)

Modified:
    tomcat/connectors/trunk/jk/native/common/jk_status.c

Modified: tomcat/connectors/trunk/jk/native/common/jk_status.c
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/common/jk_status.c?view=diff&rev=479327&r1=479326&r2=479327
==============================================================================
--- tomcat/connectors/trunk/jk/native/common/jk_status.c (original)
+++ tomcat/connectors/trunk/jk/native/common/jk_status.c Sun Nov 26 02:05:38 2006
@@ -1911,7 +1911,6 @@
                        const char *worker, const char *sub_worker,
                        int refresh, jk_logger_t *l)
 {
-    unsigned int i;
     jk_worker_t *w = NULL;
 
     JK_TRACE_ENTER(l);
@@ -1944,7 +1943,6 @@
                            const char *worker, const char *sub_worker,
                            jk_logger_t *l)
 {
-    unsigned int i;
     jk_worker_t *w = NULL;
 
     JK_TRACE_ENTER(l);
@@ -1975,7 +1973,6 @@
                            const char *worker, const char *sub_worker,
                            jk_logger_t *l)
 {
-    unsigned int i;
     jk_worker_t *w = NULL;
 
     JK_TRACE_ENTER(l);
@@ -2270,7 +2267,7 @@
 
     if (w->num_of_users) {
         if (s->remote_user) {
-            unsigned int i;
+            int i;
             denied = 1;
             for (i = 0; i < w->num_of_users; i++) {
                 if (!strcmp(s->remote_user, w->user_names[i])) {
@@ -2602,7 +2599,7 @@
     JK_TRACE_ENTER(log);
     if (pThis && pThis->worker_private) {
         status_worker_t *p = pThis->worker_private;
-        unsigned int i;
+        int i;
         p->we = we;
         p->css = jk_get_worker_style_sheet(props, p->name, NULL);
         p->read_only = jk_get_is_read_only(props, p->name);



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


Mime
View raw message