Use better variable naming.

This commit is contained in:
Klaas Freitag 2014-07-15 17:47:42 +02:00
parent 3c09ef6cbf
commit 74e13f4c70

View file

@ -155,10 +155,10 @@ static ContentManager* sharedInstance = nil;
NSMutableArray *keysToDelete = [NSMutableArray array];
NSLog(@"Clearing the cache for %@", path);
for (id path in [_fileNamesCache keyEnumerator]) {
for (id p in [_fileNamesCache keyEnumerator]) {
//do stuff with obj
if ( [path hasPrefix:path] ) {
[keysToDelete addObject:path];
if ( [p hasPrefix:path] ) {
[keysToDelete addObject:p];
}
}