[monit-dev] [monit] r347 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] r347 committed - dead store

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

Modified:
  /trunk/protocols/http.c
  /trunk/protocols/sip.c
  /trunk/sendmail.c

=======================================
--- /trunk/protocols/http.c Wed Jan 19 10:40:32 2011
+++ /trunk/protocols/http.c Wed Mar 23 14:29:55 2011
@@ -306,7 +306,6 @@
    else if(content_length > HTTP_CONTENT_MAX)
      content_length= HTTP_CONTENT_MAX;

-  n= 0;
    size= 0;
    length= content_length;
    buf= xmalloc(content_length + 1);
=======================================
--- /trunk/protocols/sip.c Mon Feb 28 08:00:47 2011
+++ /trunk/protocols/sip.c Wed Mar 23 14:29:55 2011
@@ -110,7 +110,6 @@
    const char *myip;
    char *rport= "";
    char *proto;
-  int seed;

    ASSERT(s);

@@ -126,13 +125,11 @@
      {
        transport="UDP";
        rport=";rport";
-      seed=1;
        break;
      }
      case SOCK_STREAM:
      {
        transport="TCP";
-      seed=2;
        break;
      }
      default:
=======================================
--- /trunk/sendmail.c Wed Mar 23 03:15:53 2011
+++ /trunk/sendmail.c Wed Mar 23 14:29:55 2011
@@ -124,7 +124,7 @@
    ASSERT(mail);

    S.socket = NULL;
-  if((rv = sigsetjmp(S.error, TRUE))) {
+  if(sigsetjmp(S.error, TRUE)) {
      rv = FALSE;
      goto exit;
    } else {

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