mirror of
https://github.com/transmission/transmission
synced 2024-12-27 01:57:52 +00:00
add a temporary assert
This commit is contained in:
parent
28726d031d
commit
12e6074b64
1 changed files with 2 additions and 0 deletions
|
@ -1333,6 +1333,8 @@ int trashDataFile(const char * filename)
|
|||
|
||||
- (NSInteger) checkForFiles: (NSIndexSet *) indexSet
|
||||
{
|
||||
NSAssert(indexSet != nil, @"indexSet must not be nil");
|
||||
|
||||
BOOL onState = NO, offState = NO;
|
||||
for (NSUInteger index = [indexSet firstIndex]; index != NSNotFound; index = [indexSet indexGreaterThanIndex: index])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue