Ignore:
Timestamp:
Dec 28, 2009, 11:11:26 PM (12 years ago)
Author:
charles
Message:

(trunk libT) remove dead code -- tr_assert()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r9720 r9833  
    224224    return buf;
    225225}
    226 
    227 void
    228 tr_assertImpl( const char * file, int line, const char * test, const char * fmt, ... )
    229 {
    230     char buf[64];
    231     fprintf( stderr, "[%s] Transmission %s Assertion \"%s\" failed at %s:%d.  ",
    232                      tr_getLogTimeStr( buf, sizeof( buf ) ),
    233                       LONG_VERSION_STRING, test, file, line );
    234     if( fmt && *fmt ) {
    235         va_list args;
    236         fputc( '(', stderr );
    237         va_start( args, fmt );
    238         vfprintf( stderr, fmt, args );
    239         va_end( args );
    240         fputs( ")  ", stderr );
    241     }
    242     fputs( "Please report this bug at <http://trac.transmissionbt.com/newticket>; Thank you.\n", stderr );
    243     abort( );
    244 }
    245 
    246226
    247227tr_bool
Note: See TracChangeset for help on using the changeset viewer.