mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(trunk, libT) sibling to r9027, remove more unused code
This commit is contained in:
@@ -35,18 +35,6 @@ tr_ptrArrayDestruct( tr_ptrArray * p, PtrArrayForeachFunc func )
|
||||
memset( p, ~0, sizeof( tr_ptrArray ) );
|
||||
}
|
||||
|
||||
tr_ptrArray*
|
||||
tr_ptrArrayDup( tr_ptrArray* in )
|
||||
{
|
||||
tr_ptrArray * out;
|
||||
|
||||
out = tr_new( tr_ptrArray, 1 );
|
||||
out->n_items = out->n_alloc = in->n_items;
|
||||
out->items = tr_memdup( in->items, out->n_items * sizeof( void* ) );
|
||||
|
||||
return out;
|
||||
}
|
||||
|
||||
void
|
||||
tr_ptrArrayForeach( tr_ptrArray * t,
|
||||
PtrArrayForeachFunc func )
|
||||
|
||||
Reference in New Issue
Block a user