aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-12-15 01:01:26 +0000
committerstuconnolly <stuart02@gmail.com>2009-12-15 01:01:26 +0000
commitb923ed2a9a4816ce9b7faf981950b4385023418a (patch)
tree3d0cc42f2e1020358e309d0ed06d77b7caec716c
parent8ee58e3c951a363280f9949a4589dbc6286d6c00 (diff)
downloadsequelpro-b923ed2a9a4816ce9b7faf981950b4385023418a.tar.gz
sequelpro-b923ed2a9a4816ce9b7faf981950b4385023418a.tar.bz2
sequelpro-b923ed2a9a4816ce9b7faf981950b4385023418a.zip
Remove unused variable.
-rw-r--r--Source/TableSource.m2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/TableSource.m b/Source/TableSource.m
index fb4c633e..6f73e9a5 100644
--- a/Source/TableSource.m
+++ b/Source/TableSource.m
@@ -1559,7 +1559,6 @@ would result in a position change.
NSString *columnName = [[indexes objectAtIndex:[indexView selectedRow]] objectForKey:@"Column_name"];
- BOOL hasForeignKey = NO;
NSString *constraintName = @"";
// Check to see whether the user is attempting to remove an index that a foreign key constraint depends on
@@ -1569,7 +1568,6 @@ would result in a position change.
for (NSString *column in [constraint objectForKey:@"columns"])
{
if ([column isEqualToString:columnName]) {
- hasForeignKey = YES;
constraintName = [constraint objectForKey:@"name"];
break;
}