1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 17:47:37 +00:00

add a temporary assert

This commit is contained in:
Mitchell Livingston 2010-02-01 13:01:33 +00:00
parent 28726d031d
commit 12e6074b64

View file

@ -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])
{