NSMutableDictionary *mdict = [[NSMutableDictionary alloc] autorelease];
mdict = [NSMutableDictionary dictionaryWithContentsOfFile:filePath];
return mdict; // on this line, analyze says "Value stored to mdict during it's initializtion is never read"
Any ideas how to fix this so that I can successfully analyze my project with xcode?
In your first line of code, you are creating allocating memory for a mutable dictionary. The second line you are creating another NSMutableDictionary, thereby leaving the one created in the first line as a leak. The solution is to remove the first line and modify the second one as follows: