Show
Ignore:
Timestamp:
01/09/09 15:46:53 (3 years ago)
Author:
gbooker
Message:

Ran a static analysis. Corrected many leaks, unused assignments, and missing assignments.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/CoreData/SapphireFrappliance/Browser/SapphireBrowser.m

    r722 r739  
    304304                { 
    305305                        fileCls=[meta fileClassValue]; 
    306                         BOOL rightTextSet; 
     306                        BOOL rightTextSet = NO; 
    307307                        if(fileCls==FILE_CLASS_TV_SHOW) 
    308308                        { 
     
    524524                        { 
    525525                                request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"http://appletv.nanopi.net/ext.php"]]; 
    526                                 if([currentPlayFile fileClassValue] == FILE_CLASS_UNKNOWN) 
    527                                          fileClass=0; 
    528                                 if([currentPlayFile fileClassValue] == FILE_CLASS_AUDIO) 
    529                                          fileClass=3; 
     526                                //The fileClass is never used in these cases later 
     527//                              if([currentPlayFile fileClassValue] == FILE_CLASS_UNKNOWN) 
     528//                                       fileClass=0; 
     529//                              if([currentPlayFile fileClassValue] == FILE_CLASS_AUDIO) 
     530//                                       fileClass=3; 
    530531                                if([currentPlayFile fileClassValue] == FILE_CLASS_OTHER) 
    531532                                        fileClass=5;