Skip to content

Commit

Permalink
Fixed a deprecation warning in the test file.
Browse files Browse the repository at this point in the history
  • Loading branch information
ccgus committed Sep 6, 2010
1 parent 83e3eee commit b873e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fmdb.m
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ int main (int argc, const char * argv[]) {

// delete the old db.
NSFileManager *fileManager = [NSFileManager defaultManager];
[fileManager removeFileAtPath:@"/tmp/tmp.db" handler:nil];
[fileManager removeItemAtPath:@"/tmp/tmp.db" error:nil];

FMDatabase* db = [FMDatabase databaseWithPath:@"/tmp/tmp.db"];
if (![db open]) {
Expand Down

0 comments on commit b873e06

Please sign in to comment.