@@ -250,7 +250,7 @@ CHIP_ERROR CommandSender::OnMessageReceived(Messaging::ExchangeContext * apExcha
250250 SuccessOrExit (err);
251251 if (moreChunkedMessages)
252252 {
253- StatusResponse::Send (Status::Success, apExchangeContext, /* aExpectResponse = */ true );
253+ TEMPORARY_RETURN_IGNORED StatusResponse::Send (Status::Success, apExchangeContext, /* aExpectResponse = */ true );
254254 MoveToState (State::AwaitingResponse);
255255 return CHIP_NO_ERROR;
256256 }
@@ -276,7 +276,7 @@ CHIP_ERROR CommandSender::OnMessageReceived(Messaging::ExchangeContext * apExcha
276276
277277 if (sendStatusResponse)
278278 {
279- StatusResponse::Send (Status::InvalidAction, apExchangeContext, /* aExpectResponse = */ false );
279+ TEMPORARY_RETURN_IGNORED StatusResponse::Send (Status::InvalidAction, apExchangeContext, /* aExpectResponse = */ false );
280280 }
281281
282282 if (mState != State::AwaitingResponse)
@@ -305,7 +305,7 @@ CHIP_ERROR CommandSender::ProcessInvokeResponse(System::PacketBufferHandle && pa
305305 ReturnErrorOnFailure (invokeResponseMessage.Init (reader));
306306
307307#if CHIP_CONFIG_IM_PRETTY_PRINT
308- invokeResponseMessage.PrettyPrint ();
308+ TEMPORARY_RETURN_IGNORED invokeResponseMessage.PrettyPrint ();
309309#endif
310310
311311 ReturnErrorOnFailure (invokeResponseMessage.GetSuppressResponse (&suppressResponse));
@@ -403,7 +403,7 @@ CHIP_ERROR CommandSender::ProcessInvokeResponseIB(InvokeResponseIB::Parser & aIn
403403 ReturnErrorOnFailure (commandPath.GetEndpointId (&endpointId));
404404
405405 StatusIB::Parser status;
406- commandStatus.GetErrorStatus (&status);
406+ TEMPORARY_RETURN_IGNORED commandStatus.GetErrorStatus (&status);
407407 ReturnErrorOnFailure (status.DecodeStatusIB (statusIB));
408408 ReturnErrorOnFailure (GetRef (commandStatus, commandRef, commandRefRequired));
409409 }
@@ -416,7 +416,7 @@ CHIP_ERROR CommandSender::ProcessInvokeResponseIB(InvokeResponseIB::Parser & aIn
416416 ReturnErrorOnFailure (commandPath.GetEndpointId (&endpointId));
417417 ReturnErrorOnFailure (commandPath.GetClusterId (&clusterId));
418418 ReturnErrorOnFailure (commandPath.GetCommandId (&commandId));
419- commandData.GetFields (&commandDataReader);
419+ TEMPORARY_RETURN_IGNORED commandData.GetFields (&commandDataReader);
420420 ReturnErrorOnFailure (GetRef (commandData, commandRef, commandRefRequired));
421421 err = CHIP_NO_ERROR;
422422 hasDataResponse = true ;
@@ -605,7 +605,7 @@ CHIP_ERROR CommandSender::FinishCommandInternal(FinishCommandParameters & aFinis
605605
606606 if (mpPendingResponseTracker && aFinishCommandParams.commandRef .HasValue ())
607607 {
608- mpPendingResponseTracker->Add (aFinishCommandParams.commandRef .Value ());
608+ TEMPORARY_RETURN_IGNORED mpPendingResponseTracker->Add (aFinishCommandParams.commandRef .Value ());
609609 }
610610
611611 if (aFinishCommandParams.timedInvokeTimeoutMs .HasValue ())
0 commit comments