summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity/openthread/ot-br-posix/unused_var.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-connectivity/openthread/ot-br-posix/unused_var.patch')
-rw-r--r--meta-networking/recipes-connectivity/openthread/ot-br-posix/unused_var.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/openthread/ot-br-posix/unused_var.patch b/meta-networking/recipes-connectivity/openthread/ot-br-posix/unused_var.patch
new file mode 100644
index 000000000..9727cbafd
--- /dev/null
+++ b/meta-networking/recipes-connectivity/openthread/ot-br-posix/unused_var.patch
@@ -0,0 +1,10 @@
1--- a/third_party/openthread/repo/src/cli/cli.cpp
2+++ b/third_party/openthread/repo/src/cli/cli.cpp
3@@ -1785,6 +1785,7 @@ template <> otError Interpreter::Process
4
5 for (uint8_t i = 0;; i++)
6 {
7+ OT_UNUSED_VARIABLE(i);
8 SuccessOrExit(otThreadGetNextCacheEntry(GetInstancePtr(), &entry, &iterator));
9 OutputEidCacheEntry(entry);
10 }