Skip to content

Commit 114d2e6

Browse files
zcbenzrichardlau
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 <[email protected]> Reviewed-By: Marco Ippolito <[email protected]> Reviewed-By: Juan José Arboleda <[email protected]>
1 parent d8b0368 commit 114d2e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps/cares/unofficial.gni

+2
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)