Changeset 5dc7f90


Ignore:
Timestamp:
2011-12-06T00:53:16Z (12 years ago)
Author:
Miklos Vajna <vmiklos@…>
Branches:
master
Children:
d18db32f
Parents:
df98ee8
Message:

msn: unused-but-set-variables

Location:
protocols/msn
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/sb.c

    rdf98ee8 r5dc7f90  
    308308        struct msn_switchboard *sb = data;
    309309        struct im_connection *ic;
    310         struct msn_data *md;
    311310        char buf[1024];
    312311       
     
    316315       
    317316        ic = sb->ic;
    318         md = ic->proto_data;
    319317       
    320318        if( source != sb->fd )
     
    675673        struct im_connection *ic = sb->ic;
    676674        char *body;
    677         int blen = 0;
    678675       
    679676        if( !num_parts )
     
    681678       
    682679        if( ( body = strstr( msg, "\r\n\r\n" ) ) )
    683         {
    684680                body += 4;
    685                 blen = msglen - ( body - msg );
    686         }
    687681       
    688682        if( strcmp( cmd[0], "MSG" ) == 0 )
  • protocols/msn/soap.c

    rdf98ee8 r5dc7f90  
    210210{
    211211        char *s;
    212         int st;
    213212       
    214213        if( !getenv( "BITLBEE_DEBUG" ) )
     
    218217        {
    219218                if( ( s = strstr( headers, "\r\n\r\n" ) ) )
    220                         st = write( 2, headers, s - headers + 4 );
     219                        write( 2, headers, s - headers + 4 );
    221220                else
    222                         st = write( 2, headers, strlen( headers ) );
     221                        write( 2, headers, strlen( headers ) );
    223222        }
    224223       
Note: See TracChangeset for help on using the changeset viewer.