From 8084174772a0151dcdd6e77d71a0b2ee794340f7 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 2 Feb 2018 16:25:37 +0100 Subject: [PATCH] test: fix cctest -Wunused-variable warning --- test/cctest/test_node_postmortem_metadata.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cctest/test_node_postmortem_metadata.cc b/test/cctest/test_node_postmortem_metadata.cc index 9ba6e15593a019..72e6abb585f75c 100644 --- a/test/cctest/test_node_postmortem_metadata.cc +++ b/test/cctest/test_node_postmortem_metadata.cc @@ -130,7 +130,7 @@ TEST_F(DebugSymbolsTest, ReqWrapList) { // NOTE (mmarchini): Workaround to fix failing tests on ARM64 machines with // older GCC. Should be removed once we upgrade the GCC version used on our // ARM64 CI machinies. - for (auto it : *(*env)->req_wrap_queue()) {} + for (auto it : *(*env)->req_wrap_queue()) (void) ⁢ auto queue = reinterpret_cast((*env)->req_wrap_queue()); auto head = queue +