Skip to content

Commit

Permalink
avoid [NSDictionary dictionaryWithContentsOfURL:error:]
Browse files Browse the repository at this point in the history
  • Loading branch information
blueboxd committed Jun 30, 2023
1 parent 8fea03e commit 0d9f041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chrome/utility/importer/safari_importer.mm
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void RecursiveReadBookmarksFolder(

// Load the plist file.
NSDictionary* bookmarks_dict =
[NSDictionary dictionaryWithContentsOfURL:bookmarks_plist error:nil];
[NSDictionary dictionaryWithContentsOfURL:bookmarks_plist];
if (!bookmarks_dict) {
return;
}
Expand Down

0 comments on commit 0d9f041

Please sign in to comment.