tests: Silence Clang 16 warnings (#679)

I was trying to build with clang 16 and ran into these -Werror warnings

Change-Id: I9207990fcfe9c1a5485945294969f21d1d812a7c
This commit is contained in:
Alexander Richardson
2023-12-18 14:57:11 -08:00
committed by GitHub
parent b42d9fabf7
commit 2700f392cb
2 changed files with 2 additions and 2 deletions

View File

@@ -129,7 +129,7 @@ containingFunc(uint64_t init_val, uint64_t fieldVal)
// Declare these as global so g++ doesn't ignore them. Initialize them in
// various ways.
EmptySixtyFour emptySixtyFour = 0;
EmptyThirtyTwo emptyThirtyTwo{};
[[maybe_unused]] EmptyThirtyTwo emptyThirtyTwo{};
[[maybe_unused]] EmptySixteen emptySixteen;
EmptyEight emptyEight(0);