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 9be6b7c

Browse filesBrowse files
zcbenzmarco-ippolito
authored andcommitted
build: fix warning in cares under GN build
This change can be removed after the upstream fix lands in Node: c-ares/c-ares#709 PR-URL: #51687 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
1 parent d1a8c2e commit 9be6b7c
Copy full SHA for 9be6b7c

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎deps/cares/unofficial.gni‎

Copy file name to clipboardExpand all lines: deps/cares/unofficial.gni
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ template("cares_gn_build") {
6969
cflags_c = [
7070
"-Wno-implicit-fallthrough",
7171
"-Wno-unreachable-code",
72+
# Remove after https://github.com/c-ares/c-ares/pull/709 lands in Node.
73+
"-Wno-unused-result",
7274
]
7375
}
7476
}

0 commit comments

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