diff options
author | sqlprodev <sqlprodev@northofthree.com> | 2011-03-01 19:01:41 +0000 |
---|---|---|
committer | sqlprodev <sqlprodev@northofthree.com> | 2011-03-01 19:01:41 +0000 |
commit | 4ffd7b043ca505e52b7f1c5a463e02534997c197 (patch) | |
tree | a51f41c832ee7f0b2b425df4df655eb142356407 /Source/SPPreferencesUpgrade.m | |
parent | 6eaeee8d11028cc626bcef2dd8dd2ceaabafe2a2 (diff) | |
download | sequelpro-4ffd7b043ca505e52b7f1c5a463e02534997c197.tar.gz sequelpro-4ffd7b043ca505e52b7f1c5a463e02534997c197.tar.bz2 sequelpro-4ffd7b043ca505e52b7f1c5a463e02534997c197.zip |
fixed compiler warnings
Diffstat (limited to 'Source/SPPreferencesUpgrade.m')
-rw-r--r-- | Source/SPPreferencesUpgrade.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/SPPreferencesUpgrade.m b/Source/SPPreferencesUpgrade.m index 350ef7e8..edeb9b10 100644 --- a/Source/SPPreferencesUpgrade.m +++ b/Source/SPPreferencesUpgrade.m @@ -69,17 +69,17 @@ void SPApplyRevisionChanges(void) databaseEnumerator = [[prefs objectForKey:SPTableColumnWidths] keyEnumerator]; - while (databaseKey = [databaseEnumerator nextObject]) + while ((databaseKey = [databaseEnumerator nextObject])) { newDatabase = [[NSMutableDictionary alloc] init]; tableEnumerator = [[[prefs objectForKey:SPTableColumnWidths] objectForKey:databaseKey] keyEnumerator]; - while (tableKey = [tableEnumerator nextObject]) + while ((tableKey = [tableEnumerator nextObject])) { newTable = [[NSMutableDictionary alloc] init]; columnEnumerator = [[[[prefs objectForKey:SPTableColumnWidths] objectForKey:databaseKey] objectForKey:tableKey] keyEnumerator]; - while (columnKey = [columnEnumerator nextObject]) + while ((columnKey = [columnEnumerator nextObject])) { columnWidth = [[[[[prefs objectForKey:SPTableColumnWidths] objectForKey:databaseKey] objectForKey:tableKey] objectForKey:columnKey] doubleValue]; @@ -129,7 +129,7 @@ void SPApplyRevisionChanges(void) keyEnumerator = [keysToUpgrade keyEnumerator]; - while (newKey = [keyEnumerator nextObject]) + while ((newKey = [keyEnumerator nextObject])) { oldKey = [keysToUpgrade objectForKey:newKey]; |