Ignore:
Timestamp:
Aug 1, 2008, 4:43:22 PM (12 years ago)
Author:
charles
Message:

minor text cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/ptrarray.c

    r6389 r6425  
    5757    int i;
    5858
    59     assert( t != NULL );
    60     assert( t->items != NULL );
    61     assert( func != NULL );
     59    assert( t );
     60    assert( t->items );
     61    assert( func );
    6262
    6363    for( i=0; i<t->n_items; ++i )
     
    6868tr_ptrArrayFree( tr_ptrArray * t, PtrArrayForeachFunc func )
    6969{
    70     assert( t != NULL );
    71     assert( t->items != NULL );
    72 
    73     if( func != NULL )
     70    assert( t );
     71    assert( t->items );
     72
     73    if( func )
    7474        tr_ptrArrayForeach( t, func );
    7575
     
    9494tr_ptrArrayNth( tr_ptrArray* t, int i )
    9595{
    96     assert( t != NULL  );
     96    assert( t );
    9797    assert( i >= 0 );
    9898    assert( i < t->n_items );
Note: See TracChangeset for help on using the changeset viewer.