Fixed most build warnings

This commit is contained in:
Wolfgang Sourdeau
2012-10-22 10:09:13 -04:00
parent dac021799a
commit 6d8c328910
56 changed files with 238 additions and 210 deletions
+1 -2
View File
@@ -318,7 +318,7 @@ static Class NSStringKlass = Nil;
- (BOOL) migrateOldDefaultsWithDictionary: (NSDictionary *) migratedKeys
{
NSArray *allKeys;
id currentValue, existingValue;
id currentValue;
NSString *oldName, *newName;
int count, max;
BOOL requireSync;
@@ -334,7 +334,6 @@ static Class NSStringKlass = Nil;
if (currentValue)
{
newName = [migratedKeys objectForKey: oldName];
existingValue = [source objectForKey: newName];
requireSync = YES;
[source setObject: currentValue forKey: newName];
[source removeObjectForKey: oldName];