mirror of
https://github.com/espressif/openthread.git
synced 2026-08-11 21:27:46 +00:00
[ncp-base] add IgnoreReturnValue when error should be ignored (#3415)
This change adds `IgnoreReturnValue` when the returned error can be safely ignored. This should help address a Coverity warning.
This commit is contained in:
committed by
Jonathan Hui
parent
041c14080a
commit
49945221dd
@@ -1651,7 +1651,8 @@ exit:
|
||||
|
||||
if (error != OT_ERROR_NONE)
|
||||
{
|
||||
WritePropertyValueIsFrame(SPINEL_HEADER_FLAG | SPINEL_HEADER_IID_0, SPINEL_PROP_UNSOL_UPDATE_FILTER);
|
||||
IgnoreReturnValue(
|
||||
WritePropertyValueIsFrame(SPINEL_HEADER_FLAG | SPINEL_HEADER_IID_0, SPINEL_PROP_UNSOL_UPDATE_FILTER));
|
||||
}
|
||||
|
||||
return error;
|
||||
|
||||
Reference in New Issue
Block a user