Skip to content

Commit 50f52f5

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 8a41d9b commit 50f52f5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

deps/cares/unofficial.gni

Lines 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)