Skip to content

Commit 7a0885c

Browse files
committed
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
1 parent 079c346 commit 7a0885c

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)