Skip to content
Browse files

dead store

git-svn-id: http://monit.googlecode.com/svn/trunk@347 808b68a2-07de-11de-a1f0-819f45317607
  • Loading branch information...
1 parent 7e29dd7 commit 5638e86dee03472d8e382c1355839be24e1386ac mmonit@tildeslash.com committed Mar 23, 2011
Showing with 1 addition and 5 deletions.
  1. +0 −1 protocols/http.c
  2. +0 −3 protocols/sip.c
  3. +1 −1 sendmail.c
View
1 protocols/http.c
@@ -306,7 +306,6 @@ static int do_regex(Socket_T s, long content_length, Request_T R) {
else if(content_length > HTTP_CONTENT_MAX)
content_length= HTTP_CONTENT_MAX;
- n= 0;
size= 0;
length= content_length;
buf= xmalloc(content_length + 1);
View
3 protocols/sip.c
@@ -110,7 +110,6 @@ int check_sip(Socket_T s) {
const char *myip;
char *rport= "";
char *proto;
- int seed;
ASSERT(s);
@@ -126,13 +125,11 @@ int check_sip(Socket_T s) {
{
transport="UDP";
rport=";rport";
- seed=1;
break;
}
case SOCK_STREAM:
{
transport="TCP";
- seed=2;
break;
}
default:
View
2 sendmail.c
@@ -124,7 +124,7 @@ int sendmail(Mail_T mail) {
ASSERT(mail);
S.socket = NULL;
- if((rv = sigsetjmp(S.error, TRUE))) {
+ if(sigsetjmp(S.error, TRUE)) {
rv = FALSE;
goto exit;
} else {

0 comments on commit 5638e86

Please sign in to comment.
Something went wrong with that request. Please try again.