Skip to content

Commit

Permalink
Remove extra writeData: call when unarchiving disk images (#2562)
Browse files Browse the repository at this point in the history
  • Loading branch information
zorgiepoo committed May 20, 2024
1 parent 9d6e8c2 commit f904466
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Autoupdate/SUDiskImageUnarchiver.m
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ - (void)extractDMGWithNotifier:(SUUnarchiverNotifier *)notifier SPU_OBJC_DIRECT
}

[notifier notifyProgress:0.125];

[inputPipe.fileHandleForWriting writeData:promptData];

if (@available(macOS 10.15, *)) {
if (![inputPipe.fileHandleForWriting writeData:promptData error:&error]) {
Expand Down

0 comments on commit f904466

Please sign in to comment.