aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableStructureDelegate.m
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2011-03-01 19:01:41 +0000
committersqlprodev <sqlprodev@northofthree.com>2011-03-01 19:01:41 +0000
commit4ffd7b043ca505e52b7f1c5a463e02534997c197 (patch)
treea51f41c832ee7f0b2b425df4df655eb142356407 /Source/SPTableStructureDelegate.m
parent6eaeee8d11028cc626bcef2dd8dd2ceaabafe2a2 (diff)
downloadsequelpro-4ffd7b043ca505e52b7f1c5a463e02534997c197.tar.gz
sequelpro-4ffd7b043ca505e52b7f1c5a463e02534997c197.tar.bz2
sequelpro-4ffd7b043ca505e52b7f1c5a463e02534997c197.zip
fixed compiler warnings
Diffstat (limited to 'Source/SPTableStructureDelegate.m')
-rw-r--r--Source/SPTableStructureDelegate.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/SPTableStructureDelegate.m b/Source/SPTableStructureDelegate.m
index 729091d6..23ac801b 100644
--- a/Source/SPTableStructureDelegate.m
+++ b/Source/SPTableStructureDelegate.m
@@ -25,6 +25,10 @@
#import "SPTableStructureDelegate.h"
#import "SPAlertSheets.h"
+#import "SPDatabaseData.h"
+#import "SPDatabaseViewController.h"
+#import "SPTableData.h"
+#import "SPTableFieldValidation.h"
@implementation SPTableStructure (SPTableStructureDelegate)
@@ -498,7 +502,7 @@
// validate cell against current field type
NSDictionary *theRow = NSArrayObjectAtIndex(tableFields, rowIndex);
NSString *theRowType = @"";
- if(theRowType = [theRow objectForKey:@"type"])
+ if((theRowType = [theRow objectForKey:@"type"]))
theRowType = [[theRowType stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] uppercaseString];
// Only string fields allow encoding settings