(trunk libT) remove a small number of redundant or unnecessary asserts

This commit is contained in:
Charles Kerr
2009-01-08 04:43:00 +00:00
parent 17ef142fc9
commit 98420365e9
2 changed files with 3 additions and 14 deletions

View File

@@ -300,7 +300,7 @@ char* tr_strndup( const void * str, int len ) TR_GNUC_MALLOC;
static inline char* tr_strdup( const void * in )
{
return tr_strndup( in, in ? strlen( (const char*)in ) : 0 );
return tr_strndup( in, in ? strlen( in ) : 0 );
}
/* @brief same argument list as bsearch() */