Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Zbarsky <[email protected]>
  • Loading branch information
nivi-apple and bzbarsky-apple committed Nov 21, 2024
1 parent f568a37 commit 2c0d356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/darwin/Framework/CHIP/MTROTAImageTransferHandler.mm
Original file line number Diff line number Diff line change
Expand Up @@ -200,12 +200,12 @@ - (instancetype)initWithMTROTAImageTransferHandler:(MTROTAImageTransferHandler *
return;
}

auto errorCode = [MTRError errorForCHIPErrorCode:error];
auto nsError = [MTRError errorForCHIPErrorCode:error];
if ([strongDelegate respondsToSelector:@selector(handleBDXTransferSessionEndForNodeID:controller:error:)]) {
dispatch_async(delegateQueue, ^{
[strongDelegate handleBDXTransferSessionEndForNodeID:nodeId
controller:controller
error:errorCode];
error:nsError];
});
}
}
Expand Down

0 comments on commit 2c0d356

Please sign in to comment.