mirror of
https://github.com/espressif/openthread.git
synced 2026-08-05 02:17:47 +00:00
[cli] do not update aError which is not read (#7365)
This commit avoid setting aError which is not read.
This commit is contained in:
+1
-1
@@ -4712,7 +4712,7 @@ void Interpreter::HandleDiagnosticGetResponse(otError aError,
|
||||
OutputLine("");
|
||||
|
||||
// Output Network Diagnostic TLV values in standard YAML format.
|
||||
while ((aError = otThreadGetNextDiagnosticTlv(aMessage, &iterator, &diagTlv)) == OT_ERROR_NONE)
|
||||
while (otThreadGetNextDiagnosticTlv(aMessage, &iterator, &diagTlv) == OT_ERROR_NONE)
|
||||
{
|
||||
switch (diagTlv.mType)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user