Skip to content

Commit

Permalink
build: fix warning in cares under GN build
Browse files Browse the repository at this point in the history
This change can be removed after the upstream fix lands in Node:
c-ares/c-ares#709
  • Loading branch information
zcbenz committed Feb 23, 2024
1 parent 1a8ae9d commit c01e971
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deps/cares/unofficial.gni
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ template("cares_gn_build") {
cflags_c = [
"-Wno-implicit-fallthrough",
"-Wno-unreachable-code",
# Remove after https://github.com/c-ares/c-ares/pull/709 lands in Node.
"-Wno-unused-result",
]
}
}
Expand Down

0 comments on commit c01e971

Please sign in to comment.