Changeset afb9ea9


Ignore:
Timestamp:
2010-10-07T06:25:35Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
8a35d4b
Parents:
c1d40e7
Message:

Silencing some (mostly whiny) compiler warnings.

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lib/ssl_gnutls.c

    rc1d40e7 rafb9ea9  
    189189                ssl_errno = SSL_AGAIN;
    190190       
    191         if( 0 && getenv( "BITLBEE_DEBUG" ) && st > 0 ) write( 1, buf, st );
     191        if( 0 && getenv( "BITLBEE_DEBUG" ) && st > 0 ) len = write( 1, buf, st );
    192192       
    193193        return st;
     
    210210                ssl_errno = SSL_AGAIN;
    211211       
    212         if( 0 && getenv( "BITLBEE_DEBUG" ) && st > 0 ) write( 1, buf, st );
     212        if( 0 && getenv( "BITLBEE_DEBUG" ) && st > 0 ) len = write( 1, buf, st );
    213213       
    214214        return st;
  • lib/xmltree.c

    rc1d40e7 rafb9ea9  
    615615void xt_insert_child( struct xt_node *parent, struct xt_node *child )
    616616{
    617         struct xt_node *node, *last;
     617        struct xt_node *node, *last = NULL;
     618       
     619        if( child == NULL )
     620                return; /* BUG */
    618621       
    619622        for( node = child; node; node = node->next )
  • protocols/msn/soap.c

    rc1d40e7 rafb9ea9  
    210210{
    211211        char *s;
     212        int st;
    212213       
    213214        if( !getenv( "BITLBEE_DEBUG" ) )
     
    215216       
    216217        if( ( s = strstr( headers, "\r\n\r\n" ) ) )
    217                 write( 1, s, s - headers + 4 );
     218                st = write( 1, s, s - headers + 4 );
    218219        else
    219                 write( 1, headers, strlen( headers ) );
     220                st = write( 1, headers, strlen( headers ) );
    220221       
    221222#ifdef DEBUG
Note: See TracChangeset for help on using the changeset viewer.