Skip to content

Commit

Permalink
Fixes some white space alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
billymeltdown committed Jul 27, 2016
1 parent 358888e commit 1e2ca7a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions SQLCipherManager.m
Expand Up @@ -678,19 +678,19 @@ - (void)execute:(NSString *)sqlCommand {
}

- (BOOL)execute:(NSString *)sqlCommand error:(NSError **)error {
const char *sql = [sqlCommand UTF8String];
char *errorPointer = nil;
const char *sql = [sqlCommand UTF8String];
char *errorPointer = nil;
int rc = sqlite3_exec(database, sql, NULL, NULL, &errorPointer);
if (rc != SQLITE_OK) {
if (rc != SQLITE_OK) {
if (errorPointer) {
if (error != NULL) {
*error = [[self class] errorWithSQLitePointer:errorPointer];
}
sqlite3_free(errorPointer);
}
return NO;
}
return YES;
return NO;
}
return YES;
}

- (void)execute:(NSString *)query withBlock:(void (^)(sqlite3_stmt *stmt))block {
Expand Down

0 comments on commit 1e2ca7a

Please sign in to comment.