Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Damn warnings.

  • Loading branch information...
commit 5d87488d2ef10363c3564ab4f1cf2fcb55ce1dbf 1 parent 00ed465
@ccgus authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/FMDatabaseAdditions.m
View
5 src/FMDatabaseAdditions.m
@@ -117,10 +117,15 @@ - (BOOL)columnExists:(NSString*)columnName inTableWithName:(NSString*)tableName
return returnBool;
}
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Wdeprecated-implementations"
+
- (BOOL)columnExists:(NSString*)tableName columnName:(NSString*)columnName __attribute__ ((deprecated)) {
return [self columnExists:columnName inTableWithName:tableName];
}
+#pragma clang diagnostic pop
+
- (BOOL)validateSQL:(NSString*)sql error:(NSError**)error {
sqlite3_stmt *pStmt = NULL;
BOOL validationSucceeded = YES;
Please sign in to comment.
Something went wrong with that request. Please try again.