From a5f219942a443c6e1b061e7c7247d6eb8ae43698 Mon Sep 17 00:00:00 2001 From: Nivedita Sarkar Date: Thu, 12 Oct 2023 12:28:21 -0700 Subject: [PATCH] Make the error Nullable in the completion --- src/darwin/Framework/CHIP/MTRDevice.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/darwin/Framework/CHIP/MTRDevice.h b/src/darwin/Framework/CHIP/MTRDevice.h index 8d5c1d33c6cd8a..420fc2f138d317 100644 --- a/src/darwin/Framework/CHIP/MTRDevice.h +++ b/src/darwin/Framework/CHIP/MTRDevice.h @@ -252,7 +252,7 @@ MTR_PROVISIONALLY_AVAILABLE - (void)downloadLogOfType:(MTRDiagnosticLogType)type timeout:(NSTimeInterval)timeout queue:(dispatch_queue_t)queue - completion:(void (^)(MTRDiagnosticLogResult * _Nullable logResult, NSError * error))completion MTR_PROVISIONALLY_AVAILABLE; + completion:(void (^)(MTRDiagnosticLogResult * _Nullable logResult, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE; @end