mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-03 15:54:18 +00:00
Fixed most build warnings
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user