summaryrefslogtreecommitdiff
path: root/tests/hardware/struct-size.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hardware/struct-size.cpp')
-rw-r--r--tests/hardware/struct-size.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/hardware/struct-size.cpp b/tests/hardware/struct-size.cpp
index 232b55da..14a26efe 100644
--- a/tests/hardware/struct-size.cpp
+++ b/tests/hardware/struct-size.cpp
@@ -24,7 +24,7 @@
#include <hardware/camera_common.h>
#include <hardware/camera3.h>
-template<size_t> static constexpr size_t CheckSizeHelper(size_t, size_t);
+template<size_t> static constexpr size_t CheckSizeHelper(size_t, size_t) __attribute((unused));
template<> constexpr size_t CheckSizeHelper<4>(size_t size32, size_t /* size64 */) {
return size32;