Changeset afb9ea9 for lib


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.

Location:
lib
Files:
2 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 )
Note: See TracChangeset for help on using the changeset viewer.