aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}