@@ -150,7 +150,7 @@ void TCPEndPoint::Shutdown()
150150 if (mState == State::kConnected )
151151 {
152152 mState = State::kSendShutdown ;
153- DriveSending ();
153+ TEMPORARY_RETURN_IGNORED DriveSending ();
154154 }
155155
156156 // Otherwise, if the peer has already closed their end of the connection,
@@ -215,8 +215,8 @@ void TCPEndPoint::SetIdleTimeout(uint32_t timeoutMS)
215215
216216 if (!isIdleTimerRunning && mIdleTimeout )
217217 {
218- GetSystemLayer ().StartTimer (System::Clock::Milliseconds32 (INET_TCP_IDLE_CHECK_INTERVAL), HandleIdleTimer ,
219- &GetEndPointManager ());
218+ TEMPORARY_RETURN_IGNORED GetSystemLayer ().StartTimer (System::Clock::Milliseconds32 (INET_TCP_IDLE_CHECK_INTERVAL),
219+ HandleIdleTimer, &GetEndPointManager ());
220220 }
221221}
222222
@@ -246,7 +246,8 @@ void TCPEndPoint::HandleIdleTimer(chip::System::Layer * aSystemLayer, void * aAp
246246
247247 if (lTimerRequired)
248248 {
249- aSystemLayer->StartTimer (System::Clock::Milliseconds32 (INET_TCP_IDLE_CHECK_INTERVAL), HandleIdleTimer, &endPointManager);
249+ TEMPORARY_RETURN_IGNORED aSystemLayer->StartTimer (System::Clock::Milliseconds32 (INET_TCP_IDLE_CHECK_INTERVAL),
250+ HandleIdleTimer, &endPointManager);
250251 }
251252}
252253
@@ -284,7 +285,8 @@ void TCPEndPoint::StartConnectTimerIfSet()
284285{
285286 if (mConnectTimeoutMsecs > 0 )
286287 {
287- GetSystemLayer ().StartTimer (System::Clock::Milliseconds32 (mConnectTimeoutMsecs ), TCPConnectTimeoutHandler, this );
288+ TEMPORARY_RETURN_IGNORED GetSystemLayer ().StartTimer (System::Clock::Milliseconds32 (mConnectTimeoutMsecs ),
289+ TCPConnectTimeoutHandler, this );
288290 }
289291}
290292
@@ -337,7 +339,7 @@ void TCPEndPoint::DriveReceiving(const TCPEndPointHandle & handle)
337339 DoClose (err, false );
338340 return ;
339341 }
340- AckReceive (ackLength);
342+ TEMPORARY_RETURN_IGNORED AckReceive (ackLength);
341343 }
342344
343345 // If the connection is closing, and the receive queue is now empty, call DoClose() to complete
@@ -447,7 +449,7 @@ void TCPEndPoint::DoClose(CHIP_ERROR err, bool suppressCallback)
447449
448450void TCPEndPoint::ScheduleNextTCPUserTimeoutPoll (uint32_t aTimeOut)
449451{
450- GetSystemLayer ().StartTimer (System::Clock::Milliseconds32 (aTimeOut), TCPUserTimeoutHandler, this );
452+ TEMPORARY_RETURN_IGNORED GetSystemLayer ().StartTimer (System::Clock::Milliseconds32 (aTimeOut), TCPUserTimeoutHandler, this );
451453}
452454
453455void TCPEndPoint::StartTCPUserTimeoutTimer ()
0 commit comments