@@ -128,7 +128,7 @@ void InitializeOTARequestor(void)
128128 SetRequestorInstance (&sRequestorCore );
129129
130130 sRequestorStorage .Init (chip::Server::GetInstance ().GetPersistentStorage ());
131- sRequestorCore .Init (chip::Server::GetInstance (), sRequestorStorage , sRequestorUser , sDownloader );
131+ TEMPORARY_RETURN_IGNORED sRequestorCore .Init (chip::Server::GetInstance (), sRequestorStorage , sRequestorUser , sDownloader );
132132 sImageProcessor .SetOTADownloader (&sDownloader );
133133 sDownloader .SetImageProcessorDelegate (&sImageProcessor );
134134 sRequestorUser .Init (&sRequestorCore , &sImageProcessor );
@@ -223,7 +223,7 @@ int AppTask::Init()
223223 cc13xx_26xxLogInit ();
224224
225225 // Init Chip memory management before the stack
226- Platform::MemoryInit ();
226+ SuccessOrDie ( Platform::MemoryInit () );
227227
228228 PLAT_LOG (" Software Version: %d" , CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION);
229229 PLAT_LOG (" Software Version String: %s" , CHIP_DEVICE_CONFIG_DEVICE_SOFTWARE_VERSION_STRING);
@@ -278,7 +278,7 @@ int AppTask::Init()
278278 ;
279279 }
280280
281- sThreadNetworkDriver .Init ();
281+ TEMPORARY_RETURN_IGNORED sThreadNetworkDriver .Init ();
282282 ret = ThreadStackMgrImpl ().StartThreadTask ();
283283 if (ret != CHIP_NO_ERROR)
284284 {
@@ -287,7 +287,7 @@ int AppTask::Init()
287287 ;
288288 }
289289
290- PlatformMgr ().AddEventHandler (DeviceEventCallback, reinterpret_cast <intptr_t >(nullptr ));
290+ TEMPORARY_RETURN_IGNORED PlatformMgr ().AddEventHandler (DeviceEventCallback, reinterpret_cast <intptr_t >(nullptr ));
291291
292292 uiInit ();
293293
@@ -329,7 +329,7 @@ int AppTask::Init()
329329 nativeParams.openThreadInstancePtr = chip::DeviceLayer::ThreadStackMgrImpl ().OTInstance ();
330330 initParams.endpointNativeParams = static_cast <void *>(&nativeParams);
331331
332- chip::Server::GetInstance ().Init (initParams);
332+ TEMPORARY_RETURN_IGNORED chip::Server::GetInstance ().Init (initParams);
333333
334334 ConfigurationMgr ().LogDeviceConfig ();
335335
@@ -518,7 +518,8 @@ void AppTask::DispatchEvent(AppEvent * aEvent)
518518 // Post event for demonstration purposes, we must ensure that the
519519 // LogEvent is called in the right context which is the Matter mainloop
520520 // thru ScheduleWork()
521- chip::DeviceLayer::PlatformMgr ().ScheduleWork (sAppTask .PostEvents , reinterpret_cast <intptr_t >(nullptr ));
521+ TEMPORARY_RETURN_IGNORED chip::DeviceLayer::PlatformMgr ().ScheduleWork (sAppTask .PostEvents ,
522+ reinterpret_cast <intptr_t >(nullptr ));
522523
523524 // Toggle BLE advertisements
524525 if (!ConnectivityMgr ().IsBLEAdvertisingEnabled ())
@@ -535,7 +536,7 @@ void AppTask::DispatchEvent(AppEvent * aEvent)
535536 else
536537 {
537538 // Disable BLE advertisements
538- ConnectivityMgr ().SetBLEAdvertisingEnabled (false );
539+ TEMPORARY_RETURN_IGNORED ConnectivityMgr ().SetBLEAdvertisingEnabled (false );
539540 PLAT_LOG (" Disabled BLE Advertisements" );
540541 }
541542 }
@@ -602,7 +603,7 @@ void AppTask::UpdateClusterState(void)
602603{
603604 // We must ensure that the Cluster accessors gets called in the right context
604605 // which is the Matter mainloop thru ScheduleWork()
605- chip::DeviceLayer::PlatformMgr ().ScheduleWork (UpdateCluster, reinterpret_cast <intptr_t >(nullptr ));
606+ TEMPORARY_RETURN_IGNORED chip::DeviceLayer::PlatformMgr ().ScheduleWork (UpdateCluster, reinterpret_cast <intptr_t >(nullptr ));
606607}
607608
608609void AppTask::UpdateCluster (intptr_t context)
0 commit comments