commit | 01ff6159611ca4f5876681a1805590be9980cd1a | [log] [tgz] |
---|---|---|
author | Ted Pudlik <tpudlik@google.com> | Thu Feb 10 00:28:41 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 23 18:40:34 2022 +0000 |
tree | daf8868fd0ea68a24745d76b509c68abc4d40980 | |
parent | 240a1920b4625c62811b11291a5187f5985fad8d [diff] |
pw_bloat: Mark counter with [[maybe_unused]] This avoids a warning when compiling with the -Wunused-but-set-variable flag (added to -Wall in gcc 4.6, and coming to clang with https://reviews.llvm.org/D100581). Bug: b/218748512 Change-Id: I44cf396cad78fce4261ec9a8e397d22e4af9973f Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/83860 Reviewed-by: Erik Gilling <konkers@google.com> Commit-Queue: Ted Pudlik <tpudlik@google.com> Reviewed-by: Wyatt Hepler <hepler@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/