Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 35cddae

Browse filesBrowse files
bnoordhuisMylesBorins
authored andcommitted
test: fix cctest -Wunused-variable warning
Backport-PR-URL: #18550 PR-URL: #18530 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
1 parent 46fc507 commit 35cddae
Copy full SHA for 35cddae

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎test/cctest/test_node_postmortem_metadata.cc‎

Copy file name to clipboardExpand all lines: test/cctest/test_node_postmortem_metadata.cc
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ TEST_F(DebugSymbolsTest, ReqWrapList) {
130130
// NOTE (mmarchini): Workaround to fix failing tests on ARM64 machines with
131131
// older GCC. Should be removed once we upgrade the GCC version used on our
132132
// ARM64 CI machinies.
133-
for (auto it : *(*env)->req_wrap_queue()) {}
133+
for (auto it : *(*env)->req_wrap_queue()) (void) &it;
134134

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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.