diff options
author | sqlprodev <sqlprodev@northofthree.com> | 2011-03-01 21:00:55 +0000 |
---|---|---|
committer | sqlprodev <sqlprodev@northofthree.com> | 2011-03-01 21:00:55 +0000 |
commit | cd09dcd69813400b098b9f019a558efb11e6c8b2 (patch) | |
tree | 930e4c45038ec9f0258106608ad47af34fec8ca8 /Source/SPConnectionController.m | |
parent | f1db829abc716f0cc498c0dabe8ecb1375dfa312 (diff) | |
download | sequelpro-cd09dcd69813400b098b9f019a558efb11e6c8b2.tar.gz sequelpro-cd09dcd69813400b098b9f019a558efb11e6c8b2.tar.bz2 sequelpro-cd09dcd69813400b098b9f019a558efb11e6c8b2.zip |
fixed compiler warnings
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r-- | Source/SPConnectionController.m | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m index 41f44a1d..286960bc 100644 --- a/Source/SPConnectionController.m +++ b/Source/SPConnectionController.m @@ -34,6 +34,8 @@ #import "SPSSHTunnel.h" #import "SPFavoriteNode.h" #import "SPTableTextFieldCell.h" +#import "SPGeneralPreferencePane.h" +#import "SPDatabaseViewController.h" @interface SPConnectionController (PrivateAPI) @@ -85,7 +87,7 @@ */ - (id) initWithDocument:(SPDatabaseDocument *)theTableDocument { - if (self = [super init]) { + if ((self = [super init])) { tableDocument = theTableDocument; databaseConnectionSuperview = [tableDocument databaseView]; databaseConnectionView = [tableDocument valueForKey:@"contentViewSplitter"]; |