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:
committed by
GitHub
parent
b42d9fabf7
commit
2700f392cb
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user