From 5dc7f907bf24e52f83b9d2e7613cf4e1f7aebcdf Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 6 Dec 2011 01:53:16 +0100 Subject: msn: unused-but-set-variables --- protocols/msn/soap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'protocols/msn/soap.c') diff --git a/protocols/msn/soap.c b/protocols/msn/soap.c index ccfc1a67..7d9f3791 100644 --- a/protocols/msn/soap.c +++ b/protocols/msn/soap.c @@ -209,7 +209,6 @@ static char *msn_soap_abservice_build( const char *body_fmt, const char *scenari static void msn_soap_debug_print( const char *headers, const char *payload ) { char *s; - int st; if( !getenv( "BITLBEE_DEBUG" ) ) return; @@ -217,9 +216,9 @@ static void msn_soap_debug_print( const char *headers, const char *payload ) if( headers ) { if( ( s = strstr( headers, "\r\n\r\n" ) ) ) - st = write( 2, headers, s - headers + 4 ); + write( 2, headers, s - headers + 4 ); else - st = write( 2, headers, strlen( headers ) ); + write( 2, headers, strlen( headers ) ); } if( payload ) -- cgit v1.2.3