Skip to content

Commit 93fcf52

Browse files
zcbenzrichardlau
authored andcommittedMar 25, 2024
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 2176495 commit 93fcf52

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)
Please sign in to comment.