From ecc82e3050ff0452aed489ab1e9a61a429a88950 Mon Sep 17 00:00:00 2001 From: mcbarton <150042563+mcbarton@users.noreply.github.com> Date: Fri, 17 May 2024 22:43:50 +0100 Subject: [PATCH] Update VariableReflectionTest.cpp with [[maybe_unused]] --- unittests/CppInterOp/VariableReflectionTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/CppInterOp/VariableReflectionTest.cpp b/unittests/CppInterOp/VariableReflectionTest.cpp index b69176c0e..3dcfee44d 100644 --- a/unittests/CppInterOp/VariableReflectionTest.cpp +++ b/unittests/CppInterOp/VariableReflectionTest.cpp @@ -93,7 +93,7 @@ TEST(VariableReflectionTest, GetVariableType) { #define CODE \ int a; \ - const int N = 5; \ + [[maybe_unused]] const int N = 5; \ class C { \ public: \ int a; \