diff options
| -rw-r--r-- | meta-networking/recipes-connectivity/openthread/ot-br-posix/unused_var.patch | 10 | ||||
| -rw-r--r-- | meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb | 1 |
2 files changed, 11 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 0000000000..9727cbafd8 --- /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 | } | ||
diff --git a/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb b/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb index bbec81c27e..ca763d01fa 100644 --- a/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb +++ b/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb | |||
| @@ -19,6 +19,7 @@ SRC_URI = "gitsm://github.com/openthread/ot-br-posix.git;protocol=https;branch=m | |||
| 19 | file://0001-cmake-Disable-nonnull-compare-warning-on-gcc.patch \ | 19 | file://0001-cmake-Disable-nonnull-compare-warning-on-gcc.patch \ |
| 20 | file://0001-bn_mul.h-fix-x86-PIC-inline-ASM-compilation-with-GCC.patch \ | 20 | file://0001-bn_mul.h-fix-x86-PIC-inline-ASM-compilation-with-GCC.patch \ |
| 21 | file://mbedtls.patch \ | 21 | file://mbedtls.patch \ |
| 22 | file://unused_var.patch \ | ||
| 22 | " | 23 | " |
| 23 | 24 | ||
| 24 | S = "${WORKDIR}/git" | 25 | S = "${WORKDIR}/git" |
