Skip to content

Commit

Permalink
test: fix cctest -Wunused-variable warning
Browse files Browse the repository at this point in the history
Backport-PR-URL: #19176
PR-URL: #18530
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
  • Loading branch information
bnoordhuis authored and rvagg committed Aug 16, 2018
1 parent 0564454 commit b7564c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cctest/test_node_postmortem_metadata.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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) &it;

auto queue = reinterpret_cast<uintptr_t>((*env)->req_wrap_queue());
auto head = queue +
Expand Down

0 comments on commit b7564c4

Please sign in to comment.