- Timestamp:
- 02/25/10 07:44:29 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/PlayerFramework/SapphireFrappliance/MetaDataImporting/SapphireScraper.m
r1146 r1174 228 228 - (void)clearBuffers 229 229 { 230 for(int i=0; i<SCRAPER_BUFFER_COUNT; i++) 230 int i; 231 for(i=0; i<SCRAPER_BUFFER_COUNT; i++) 231 232 { 232 233 [scraperBuffers[i] release]; … … 243 244 - (void)clearStorchMatches 244 245 { 245 for(int i=0; i<SCRAPER_MATCH_COUNT; i++) 246 int i; 247 for(i=0; i<SCRAPER_MATCH_COUNT; i++) 246 248 { 247 249 [storedMatches[i] release]; … … 286 288 NSArray *settingDescs = [rootSetting elementsForName:@"setting"]; 287 289 288 int count = [settingDescs count] ;289 for(i nt i=0; i<count; i++)290 int count = [settingDescs count], i; 291 for(i=0; i<count; i++) 290 292 { 291 293 [self parseSetting:[settingDescs objectAtIndex:i]]; … … 341 343 void bufferBooleanAttributeWithDefault(NSXMLElement *element, NSString *attributeName, BOOL defaultValue, BOOL *values) 342 344 { 345 int i; 343 346 if(defaultValue) 344 for(i nt i=0; i<SCRAPER_MATCH_COUNT; i++)347 for(i=0; i<SCRAPER_MATCH_COUNT; i++) 345 348 values[i] = YES; 346 349 else … … 352 355 NSArray *valueStrings = [attr componentsSeparatedByString:@","]; 353 356 int count = [valueStrings count]; 354 for(i nt i=0; i<count; i++)357 for(i=0; i<count; i++) 355 358 { 356 359 int index = [[valueStrings objectAtIndex:i] intValue]; … … 575 578 if(count) 576 579 { 577 for(int i=0; i<count; i++) 580 int i; 581 for(i=0; i<count; i++) 578 582 [self parseElement:[regexChildren objectAtIndex:i]]; 579 583 } … … 610 614 NSXMLElement *functionElement = [elements objectAtIndex:0]; 611 615 elements = [functionElement elementsForName:@"RegExp"]; 612 int count = [elements count] ;613 for(i nt i=0; i<count; i++)616 int count = [elements count], i; 617 for(i=0; i<count; i++) 614 618 { 615 619 [self parseElement:[elements objectAtIndex:i]];
