aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextView.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTextView.m')
-rw-r--r--Source/SPTextView.m5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/SPTextView.m b/Source/SPTextView.m
index 705f2a8a..769d4be8 100644
--- a/Source/SPTextView.m
+++ b/Source/SPTextView.m
@@ -33,6 +33,7 @@
#import "SPAlertSheets.h"
#import "RegexKitLite.h"
#import "SPBundleHTMLOutputController.h"
+#import "SPDatabaseViewController.h"
#pragma mark -
#pragma mark lex init
@@ -415,8 +416,6 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
continue;
}
- NSString *dbpath = [db substringFromIndex:[db rangeOfString:SPUniqueSchemaDelimiter].location];
-
NSMutableArray *sortedTables = [NSMutableArray array];
if(aTableNameExists) {
[sortedTables addObject:aTableName_id];
@@ -2675,7 +2674,7 @@ NSInteger alphabeticSort(id string1, id string2, void *reverse)
BOOL allowToCheckForUpperCase;
// now loop through all the tokens
- while (token=yylex()){
+ while ((token=yylex())){
allowToCheckForUpperCase = YES;