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/SPConnectionControllerDelegate.m | |
parent | 6f983024a66ddb594eac5e4e808a8c3c51f6b6ff (diff) | |
download | sequelpro-994756398decf77738afb3c599d4cb9238c77cee.tar.gz sequelpro-994756398decf77738afb3c599d4cb9238c77cee.tar.bz2 sequelpro-994756398decf77738afb3c599d4cb9238c77cee.zip |
- Fix more compiler warnings
Diffstat (limited to 'Source/SPConnectionControllerDelegate.m')
-rw-r--r-- | Source/SPConnectionControllerDelegate.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPConnectionControllerDelegate.m b/Source/SPConnectionControllerDelegate.m index 9a7dedbf..ab4b4c27 100644 --- a/Source/SPConnectionControllerDelegate.m +++ b/Source/SPConnectionControllerDelegate.m @@ -135,11 +135,11 @@ return [[node nodeChildren] count]; } -- (id)outlineView:(NSOutlineView *)outlineView child:(NSInteger)index ofItem:(id)item +- (id)outlineView:(NSOutlineView *)outlineView child:(NSInteger)anIndex ofItem:(id)item { SPFavoriteNode *node = (item == nil ? favoritesRoot : (SPFavoriteNode *)item); - return NSArrayObjectAtIndex([node nodeChildren], index); + return NSArrayObjectAtIndex([node nodeChildren], anIndex); } - (BOOL)outlineView:(NSOutlineView *)outlineView isItemExpandable:(id)item |