Skip to content

Commit bf8c4ba

Browse files
committed
Restyle
1 parent 56b1307 commit bf8c4ba

3 files changed

+3
-6
lines changed

src/app/BUILD.gn

+1-2
Original file line numberDiff line numberDiff line change
@@ -416,13 +416,12 @@ source_set("path-expansion") {
416416
public_deps = [
417417
":global-attributes",
418418
":paths",
419-
"${chip_root}/src/lib/core:types",
420419
"${chip_root}/src/app/data-model-provider",
420+
"${chip_root}/src/lib/core:types",
421421
"${chip_root}/src/lib/support",
422422
]
423423
}
424424

425-
426425
source_set("attribute-persistence") {
427426
sources = [
428427
"DefaultSafeAttributePersistenceProvider.h",

src/app/InteractionModelEngine.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -848,8 +848,7 @@ Protocols::InteractionModel::Status InteractionModelEngine::OnReadInitialRequest
848848

849849
// We have already reserved enough resources for read requests, and have granted enough resources for current subscriptions, so
850850
// we should be able to allocate resources requested by this request.
851-
ReadHandler * handler =
852-
mReadHandlers.CreateObject(*this, apExchangeContext, aInteractionType, mReportScheduler);
851+
ReadHandler * handler = mReadHandlers.CreateObject(*this, apExchangeContext, aInteractionType, mReportScheduler);
853852
if (handler == nullptr)
854853
{
855854
ChipLogProgress(InteractionModel, "no resource for %s interaction",

src/app/SubscriptionResumptionSessionEstablisher.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ void SubscriptionResumptionSessionEstablisher::HandleDeviceConnected(void * cont
103103
ChipLogProgress(InteractionModel, "no resource for subscription resumption");
104104
return;
105105
}
106-
ReadHandler * readHandler =
107-
imEngine->mReadHandlers.CreateObject(*imEngine, imEngine->GetReportScheduler());
106+
ReadHandler * readHandler = imEngine->mReadHandlers.CreateObject(*imEngine, imEngine->GetReportScheduler());
108107
if (readHandler == nullptr)
109108
{
110109
// TODO - Should we keep the subscription here?

0 commit comments

Comments
 (0)