File tree 1 file changed +3
-3
lines changed
src/darwin/Framework/CHIP
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -347,11 +347,11 @@ - (BOOL)_startControllerFactory:(MTRDeviceControllerFactoryParams *)startupParam
347
347
348
348
// TODO: Allow passing a different keystore implementation via startupParams.
349
349
_keystore = new PersistentStorageOperationalKeystore ();
350
- SuccessOrExit (( err = _keystore->Init (_persistentStorageDelegate) ));
350
+ SuccessOrExit (err = _keystore->Init (_persistentStorageDelegate));
351
351
352
352
// TODO Allow passing a different opcert store implementation via startupParams.
353
353
_opCertStore = new Credentials::PersistentStorageOpCertStore ();
354
- SuccessOrExit (( err = _opCertStore->Init (_persistentStorageDelegate) ));
354
+ SuccessOrExit (err = _opCertStore->Init (_persistentStorageDelegate));
355
355
356
356
_productAttestationAuthorityCertificates = [startupParams.productAttestationAuthorityCertificates copy ];
357
357
_certificationDeclarationCertificates = [startupParams.certificationDeclarationCertificates copy ];
@@ -370,7 +370,7 @@ - (BOOL)_startControllerFactory:(MTRDeviceControllerFactoryParams *)startupParam
370
370
params.opCertStore = _opCertStore;
371
371
params.certificateValidityPolicy = &_certificateValidityPolicy;
372
372
params.sessionResumptionStorage = _sessionResumptionStorage;
373
- SuccessOrExit (( err = _controllerFactory->Init (params) ));
373
+ SuccessOrExit (err = _controllerFactory->Init (params));
374
374
}
375
375
376
376
// This needs to happen after DeviceControllerFactory::Init,
You can’t perform that action at this time.
0 commit comments