diff options
author | rowanbeentje <rowan@beent.je> | 2011-03-04 00:38:30 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2011-03-04 00:38:30 +0000 |
commit | 994756398decf77738afb3c599d4cb9238c77cee (patch) | |
tree | 6fef724448931d438e553d98096a8f20cbf6751b /Source/SPFavoritesController.m | |
parent | 6f983024a66ddb594eac5e4e808a8c3c51f6b6ff (diff) | |
download | sequelpro-994756398decf77738afb3c599d4cb9238c77cee.tar.gz sequelpro-994756398decf77738afb3c599d4cb9238c77cee.tar.bz2 sequelpro-994756398decf77738afb3c599d4cb9238c77cee.zip |
- Fix more compiler warnings
Diffstat (limited to 'Source/SPFavoritesController.m')
-rw-r--r-- | Source/SPFavoritesController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPFavoritesController.m b/Source/SPFavoritesController.m index 285cbd90..2c48823d 100644 --- a/Source/SPFavoritesController.m +++ b/Source/SPFavoritesController.m @@ -182,9 +182,9 @@ static SPFavoritesController *sharedFavoritesController = nil; favorites = [[NSDictionary alloc] initWithContentsOfFile:favoritesFile]; } else { - NSDictionary *newFavorites = [NSMutableDictionary dictionaryWithObject:[NSMutableDictionary dictionaryWithObjectsAndKeys:NSLocalizedString(@"Favorites", @"favorites label"), SPFavoritesGroupNameKey, [NSArray array], SPFavoriteChildrenKey, nil] forKey:SPFavoritesRootKey]; + NSMutableDictionary *newFavorites = [NSMutableDictionary dictionaryWithObject:[NSMutableDictionary dictionaryWithObjectsAndKeys:NSLocalizedString(@"Favorites", @"favorites label"), SPFavoritesGroupNameKey, [NSArray array], SPFavoriteChildrenKey, nil] forKey:SPFavoritesRootKey]; - NSError *error = nil; + error = nil; NSString *errorString = nil; NSData *plistData = [NSPropertyListSerialization dataFromPropertyList:newFavorites |