--- a/third_party/openthread/repo/src/cli/cli.cpp +++ b/third_party/openthread/repo/src/cli/cli.cpp @@ -1785,6 +1785,7 @@ template <> otError Interpreter::Process for (uint8_t i = 0;; i++) { + OT_UNUSED_VARIABLE(i); SuccessOrExit(otThreadGetNextCacheEntry(GetInstancePtr(), &entry, &iterator)); OutputEidCacheEntry(entry); }