Ignore:
Timestamp:
Feb 2, 2011, 5:18:33 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) silence some unused variable warnings from gcc when building with -DNDEBUG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-io.c

    r11803 r11810  
    773773    const int vecCount = evbuffer_peek( buf, byteCount, NULL, NULL, 0 );
    774774    struct evbuffer_iovec * iovec = tr_new0( struct evbuffer_iovec, vecCount );
    775     const int n = evbuffer_peek( buf, byteCount, NULL, iovec, vecCount );
    776     assert( vecCount == n );
     775    assert( vecCount == evbuffer_peek( buf, byteCount, NULL, iovec, vecCount ) );
    777776    *setme_vecCount = vecCount;
    778777    return iovec;
Note: See TracChangeset for help on using the changeset viewer.