[monit-dev] [monit] r348 committed - dead store

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[monit-dev] [monit] r348 committed - dead store

monit-2
Revision: 348
Author:   [hidden email]
Date:     Wed Mar 23 14:31:50 2011
Log:      dead store
http://code.google.com/p/monit/source/detail?r=348

Modified:
  /trunk/http/cervlet.c

=======================================
--- /trunk/http/cervlet.c Wed Jan 19 10:40:32 2011
+++ /trunk/http/cervlet.c Wed Mar 23 14:31:50 2011
@@ -376,7 +376,7 @@
    }

    if(Run.mmonits) {
-    Mmonit_T c= Run.mmonits;
+    Mmonit_T c;
      out_print(res, "<tr><td>M/Monit server(s)</td><td>");
      for(c= Run.mmonits; c; c= c->next)
      {
@@ -394,7 +394,7 @@
    }

    if(Run.mailservers) {
-    MailServer_T mta= Run.mailservers;
+    MailServer_T mta;
      out_print(res, "<tr><td>Mail server(s)</td><td>");
      for(mta= Run.mailservers; mta; mta= mta->next)
          out_print(res, "%s:%d%s&nbsp;",

_______________________________________________
monit-dev mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/monit-dev