X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/67d61d2eddbf13b089421b1c08b0353e50c467d7..refs/heads/master:/Analytics/SQLite/SFSQLite.m?ds=inline diff --git a/Analytics/SQLite/SFSQLite.m b/Analytics/SQLite/SFSQLite.m index e0f1a8dd..d3d9acd3 100644 --- a/Analytics/SQLite/SFSQLite.m +++ b/Analytics/SQLite/SFSQLite.m @@ -301,7 +301,6 @@ allDone: */ - (void)attemptProperDatabasePermissions { -#if TARGET_OS_IPHONE NSFileManager* fm = [NSFileManager defaultManager]; [fm setAttributes:@{NSFilePosixPermissions : [NSNumber numberWithShort:0666]} ofItemAtPath:_path @@ -312,7 +311,6 @@ allDone: [fm setAttributes:@{NSFilePosixPermissions : [NSNumber numberWithShort:0666]} ofItemAtPath:[NSString stringWithFormat:@"%@-shm",_path] error:nil]; -#endif } - (BOOL)openWithError:(NSError **)error {